World: fixed block update bug introduced by 3faeb5a5568566bccc449855b54495f88473f7fc

This commit is contained in:
Dylan K. Taylor 2022-01-25 21:53:15 +00:00
parent 75d0fc4749
commit 6cbc14f2b2
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D

View File

@ -493,7 +493,7 @@ class World implements ChunkManager{
foreach(BlockFactory::getInstance()->getAllKnownStates() as $state){
$dontTickName = $dontTickBlocks[$state->getTypeId()] ?? null;
if($dontTickName === null && !$state->ticksRandomly()){
if($dontTickName === null && $state->ticksRandomly()){
$this->randomTickBlocks[$state->getFullId()] = true;
}
}