mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-05 09:26:06 +00:00
Replace disallowed operators in src/console/
This commit is contained in:
@ -78,7 +78,7 @@ class ConsoleCommandSender implements CommandSender{
|
|||||||
}
|
}
|
||||||
|
|
||||||
public function setScreenLineHeight(?int $height) : void{
|
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");
|
throw new \InvalidArgumentException("Line height must be at least 1");
|
||||||
}
|
}
|
||||||
$this->lineHeight = $height;
|
$this->lineHeight = $height;
|
||||||
|
Reference in New Issue
Block a user