null level fixes #1703

This commit is contained in:
gnembon committed 2023-05-19 08:01:07 +02:00
1 parent e140a5ddb0
commit f15a0eabf7
1 file changed
+1 -1
@@ -932,7 +932,7 @@ public class WorldAccess
}
if (DUMMY_ENTITY == null)
{
DUMMY_ENTITY = new FallingBlockEntity(EntityType.FALLING_BLOCK, cc.server().overworld());
DUMMY_ENTITY = new FallingBlockEntity(EntityType.FALLING_BLOCK, null);
}
Block.dropResources(state, world, where, be, DUMMY_ENTITY, tool);
}