Option to disable hitbox calculation

This commit is contained in:
williamtdr 2014-10-04 20:07:37 -05:00
parent 5e03e157ad
commit fae330d499
2 changed files with 8 additions and 0 deletions

View File

@ -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){

View File

@ -89,6 +89,10 @@ auto-updater:
suggest-channels: true
host: www.pocketmine.net
movement-check:
#Teleport players back if they move into a block
calculate-hitboxes: true
aliases:
#Examples:
#showtheversion: version