mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-07 12:18:46 +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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if($this->server->getProperty("movement-check.calculate-hitboxes",true) === false){
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
$revert = false;
|
$revert = false;
|
||||||
|
|
||||||
if($distance > 100){
|
if($distance > 100){
|
||||||
|
@ -89,6 +89,10 @@ auto-updater:
|
|||||||
suggest-channels: true
|
suggest-channels: true
|
||||||
host: www.pocketmine.net
|
host: www.pocketmine.net
|
||||||
|
|
||||||
|
movement-check:
|
||||||
|
#Teleport players back if they move into a block
|
||||||
|
calculate-hitboxes: true
|
||||||
|
|
||||||
aliases:
|
aliases:
|
||||||
#Examples:
|
#Examples:
|
||||||
#showtheversion: version
|
#showtheversion: version
|
||||||
|
Loading…
x
Reference in New Issue
Block a user