mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-30 16:19:03 +01:00
Implemented int getBlockTypeIdAt(int x, int y, int z).
By: Erik Broes <erikbroes@grum.nl>
This commit is contained in:
parent
fb25b100ab
commit
5c16d49e03
1 changed files with 5 additions and 1 deletions
4
paper-server/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
Normal file → Executable file
4
paper-server/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
Normal file → Executable file
|
@ -54,6 +54,10 @@ public class CraftWorld implements World {
|
||||||
return block;
|
return block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public int getBlockTypeIdAt(int x, int y, int z) {
|
||||||
|
return world.a(x, y, z);
|
||||||
|
}
|
||||||
|
|
||||||
public int getHighestBlockYAt(int x, int z) {
|
public int getHighestBlockYAt(int x, int z) {
|
||||||
return world.d(x, z);
|
return world.d(x, z);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue