getBlockData -> getBlockState

This commit is contained in:
dfsek committed 2021-12-17 08:38:28 -07:00
1 parent 7da87c27ee
commit 23fcd4a651
9 files changed
+13 -13

No files matched your search

@@ -58,7 +58,7 @@ public class TerraFlora implements Structure {
private void test(EnumSet<Direction> faces, Direction f, Vector3 b, WritableWorld world) {
if(testRotation.contains(
world.getBlockData(b.getBlockX() + f.getModX(), b.getBlockY() + f.getModY(), b.getBlockZ() + f.getModZ()).getBlockType()))
world.getBlockState(b.getBlockX() + f.getModX(), b.getBlockY() + f.getModY(), b.getBlockZ() + f.getModZ()).getBlockType()))
faces.add(f);
}