mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
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:
parent
a62986a8d6
commit
5537f3e197
4 changed files with 18 additions and 49 deletions
|
|
@ -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;
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue