mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-03 16:49:53 +00:00
Removed entity limits
This commit is contained in:
parent
3e68972253
commit
e83e424671
@ -296,7 +296,7 @@ class Entity extends Position{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if($this->class !== ENTITY_PLAYER and ($this->x <= 0 or $this->z <= 0 or $this->x >= 256 or $this->z >= 256 or $this->y >= 128 or $this->y <= 0)){
|
if($this->class !== ENTITY_PLAYER and ($this->y >= 128 or $this->y <= 0)){
|
||||||
$this->close();
|
$this->close();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user