setBlockData -> setBlockState

This commit is contained in:
dfsek committed 2021-12-17 08:40:02 -07:00
1 parent 23fcd4a651
commit 31e20b12c0
8 files changed
+15 -15

No files matched your search

@@ -30,7 +30,7 @@ public class BukkitProtoWorld implements ProtoWorld {
}
@Override
public void setBlockData(int x, int y, int z, BlockState data, boolean physics) {
public void setBlockState(int x, int y, int z, BlockState data, boolean physics) {
delegate.setBlockData(x, y, z, BukkitAdapter.adapt(data));
if(physics) {
delegate.scheduleBlockUpdate(x, y, z);
@@ -48,7 +48,7 @@ public class BukkitServerWorld implements ServerWorld {
}
@Override
public void setBlockData(int x, int y, int z, BlockState data, boolean physics) {
public void setBlockState(int x, int y, int z, BlockState data, boolean physics) {
delegate.getBlockAt(x, y, z).setBlockData(BukkitAdapter.adapt(data), physics);
}