mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 00:33:59 +00:00
World: fixed block update bug introduced by 3faeb5a5568566bccc449855b54495f88473f7fc
This commit is contained in:
parent
75d0fc4749
commit
6cbc14f2b2
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user