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

View File

@@ -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);
}
}
}