mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-15 04:05:50 -07:00
Implemented int getBlockTypeIdAt(int x, int y, int z).
By: Erik Broes <erikbroes@grum.nl>
This commit is contained in:
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);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user