mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-06-16 22:01:07 +00:00
setBlockData -> setBlockState
This commit is contained in:
+2
-2
@@ -52,7 +52,7 @@ public class SpongeStructure implements Structure {
|
||||
for(int y = 0; y < blocks[z].length; y++) {
|
||||
BlockState state = blocks[x][z][y];
|
||||
if(state == null) continue;
|
||||
world.setBlockData(bX + rX, bY + y, bZ + rZ, state);
|
||||
world.setBlockState(bX + rX, bY + y, bZ + rZ, state);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -89,7 +89,7 @@ public class SpongeStructure implements Structure {
|
||||
for(int y = 0; y < blocks[z].length; y++) {
|
||||
BlockState state = blocks[x][z][y];
|
||||
if(state == null) continue;
|
||||
world.setBlockData(bX + rX, bY + y, bZ + rZ, state);
|
||||
world.setBlockState(bX + rX, bY + y, bZ + rZ, state);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user