mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-16 19:59:11 +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:
@@ -1574,7 +1574,7 @@ class Level implements ChunkManager, Metadatable{
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
$player->lastBreak = microtime(true);
|
$player->lastBreak = PHP_INT_MAX;
|
||||||
|
|
||||||
$drops = $ev->getDrops();
|
$drops = $ev->getDrops();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user