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:
Dylan K. Taylor 2017-03-09 13:30:53 +00:00
parent b9dfc7551a
commit 7a36d80384

View File

@ -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();