Liquid: Removed a bad hack-fix, fixed mobs not moving when water flows around them

this breaks more than it appears to fix, and I can't reproduce any CPU
leaks when block updates are enabled, so I'm going to assume this is OK.
This commit is contained in:
Dylan K. Taylor 2017-11-24 17:23:08 +00:00
parent 74967eed87
commit 1f5f67e087

View File

@ -308,7 +308,7 @@ abstract class Liquid extends Transparent{
$this->level->useBreakOn($block);
}
$this->level->setBlock($block, BlockFactory::get($this->getId(), $newFlowDecay), true, false);
$this->level->setBlock($block, BlockFactory::get($this->getId(), $newFlowDecay), true, true);
$this->level->scheduleDelayedBlockUpdate($block, $this->tickRate());
}
}