mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 00:33:59 +00:00
Replace disallowed operators in src/console/
This commit is contained in:
parent
6846f1e78a
commit
22bc3bc3f9
@ -78,7 +78,7 @@ class ConsoleCommandSender implements CommandSender{
|
||||
}
|
||||
|
||||
public function setScreenLineHeight(?int $height) : void{
|
||||
if($height !== null and $height < 1){
|
||||
if($height !== null && $height < 1){
|
||||
throw new \InvalidArgumentException("Line height must be at least 1");
|
||||
}
|
||||
$this->lineHeight = $height;
|
||||
|
Loading…
x
Reference in New Issue
Block a user