mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-18 20:14:31 +00:00
Option to disable hitbox calculation
This commit is contained in:
@@ -1104,6 +1104,10 @@ class Player extends Human implements CommandSender, InventoryHolder, IPlayer{
|
||||
return;
|
||||
}
|
||||
|
||||
if($this->server->getProperty("movement-check.calculate-hitboxes",true) === false){
|
||||
return;
|
||||
}
|
||||
|
||||
$revert = false;
|
||||
|
||||
if($distance > 100){
|
||||
|
Reference in New Issue
Block a user