mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-08-13 23:00:05 +00:00
Fixed broken block-break timer logic causing creative players to be unable to remove fire after breaking blocks
This also causes some annoying issues with instabreak (false positives). Shoghi dude, this did _not_ fix those issues, only hid them and replaced them with different ones.
This commit is contained in:
parent
b9dfc7551a
commit
7a36d80384
@ -1574,7 +1574,7 @@ class Level implements ChunkManager, Metadatable{
|
||||
return false;
|
||||
}
|
||||
|
||||
$player->lastBreak = microtime(true);
|
||||
$player->lastBreak = PHP_INT_MAX;
|
||||
|
||||
$drops = $ev->getDrops();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user