setBlockData -> setBlockState

This commit is contained in:
dfsek
2021-12-17 08:40:02 -07:00
parent 23fcd4a651
commit 31e20b12c0
8 changed files with 15 additions and 15 deletions
@@ -106,7 +106,7 @@ public class VanillaOre implements Structure {
if(y >= world.getMaxHeight() || y < world.getMinHeight()) continue;
BlockType block = world.getBlockState(x, y, z).getBlockType();
if((d13 * d13 + d14 * d14 + d15 * d15 < 1.0D) && getReplaceable().contains(block)) {
world.setBlockData(x, y, z, getMaterial(block), isApplyGravity());
world.setBlockState(x, y, z, getMaterial(block), isApplyGravity());
}
}
}