mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-10-25 21:40:08 +00:00
getBlockData -> getBlockState
This commit is contained in:
1 parent
7da87c27ee
commit
23fcd4a651
9 files changed
+13
-13
No files matched your search
@@ -48,7 +48,7 @@ public class BukkitProtoWorld implements ProtoWorld {
|
||||
}
|
||||
|
||||
@Override
|
||||
public BlockState getBlockData(int x, int y, int z) {
|
||||
public BlockState getBlockState(int x, int y, int z) {
|
||||
return BukkitBlockState.newInstance(delegate.getBlockData(x, y, z));
|
||||
}
|
||||
|
||||
|
||||
@@ -68,7 +68,7 @@ public class BukkitServerWorld implements ServerWorld {
|
||||
}
|
||||
|
||||
@Override
|
||||
public BlockState getBlockData(int x, int y, int z) {
|
||||
public BlockState getBlockState(int x, int y, int z) {
|
||||
return BukkitAdapter.adapt(delegate.getBlockAt(x, y, z).getBlockData());
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user