mirror of
https://github.com/PaperMC/Paper.git
synced 2025-02-23 15:20:04 +08:00
Implemented int getBlockTypeIdAt(int x, int y, int z).
This commit is contained in:
parent
dea72d6623
commit
5aa1bc269d
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 New Issue
Block a user