mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-21 00:07:30 +00:00
Option to disable hitbox calculation
This commit is contained in:
parent
5e03e157ad
commit
fae330d499
@ -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){
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user