mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-20 15:41:33 +00:00
Replace disallowed operators in src/world/
This commit is contained in:
@@ -81,9 +81,9 @@ class SimpleChunkManager implements ChunkManager{
|
||||
|
||||
public function isInWorld(int $x, int $y, int $z) : bool{
|
||||
return (
|
||||
$x <= Limits::INT32_MAX and $x >= Limits::INT32_MIN and
|
||||
$y < $this->maxY and $y >= $this->minY and
|
||||
$z <= Limits::INT32_MAX and $z >= Limits::INT32_MIN
|
||||
$x <= Limits::INT32_MAX && $x >= Limits::INT32_MIN &&
|
||||
$y < $this->maxY && $y >= $this->minY &&
|
||||
$z <= Limits::INT32_MAX && $z >= Limits::INT32_MIN
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user