Fix UOE when using generateTree with pale oak (#12616)
This commit is contained in:
@ -86,6 +86,11 @@ public class BlockStateListPopulator extends DummyGeneratorAccess {
|
||||
return this.world.getMinecraftWorld();
|
||||
}
|
||||
|
||||
@Override
|
||||
public ServerLevel getLevel() {
|
||||
return this.getMinecraftWorld();
|
||||
}
|
||||
|
||||
public void refreshTiles() {
|
||||
for (CraftBlockState snapshot : this.blocks.values()) {
|
||||
if (snapshot instanceof CraftBlockEntityState) {
|
||||
|
||||
Reference in New Issue
Block a user