mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-28 07:20:24 +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
6
paper-server/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
Normal file → Executable file
6
paper-server/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