removed ProtocolInfo::EID_PACKETS, added ability to customize min block breaking progress required to destroy a block + change value from 1 to 0.8

This commit is contained in:
GameHerobrine 2025-07-04 16:10:49 +03:00
parent a62986a8d6
commit 5537f3e197
4 changed files with 18 additions and 49 deletions

View file

@ -413,7 +413,7 @@ class BlockAPI{
$exceptedTimeMS = INF;
$tooFast = true;
}else{
$exceptedTimeMS = ceil(1 / $progress)*0.05;
$exceptedTimeMS = ceil(PocketMinecraftServer::$BLOCK_BREAKING_PROGRESS / $progress)*0.05;
}