mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-01 20:50:41 +01:00
Implemented int getBlockTypeIdAt(int x, int y, int z).
This commit is contained in:
parent
dea72d6623
commit
5aa1bc269d
1 changed files with 5 additions and 1 deletions
6
src/main/java/org/bukkit/craftbukkit/CraftWorld.java
Normal file → Executable file
6
src/main/java/org/bukkit/craftbukkit/CraftWorld.java
Normal file → Executable file
|
@ -53,7 +53,11 @@ public class CraftWorld implements World {
|
|||
|
||||
return block;
|
||||
}
|
||||
|
||||
|
||||
public int getBlockTypeIdAt(int x, int y, int z) {
|
||||
return world.a(x, y, z);
|
||||
}
|
||||
|
||||
public int getHighestBlockYAt(int x, int z) {
|
||||
return world.d(x, z);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue