mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-21 07:31:47 +01:00
y is also an int in Chunk#getData
This commit is contained in:
parent
450603cac8
commit
e60efca907
@ -214,7 +214,7 @@ public final class Chunk implements Viewable {
|
||||
refreshBlockValue(x, y, z, blockId, customBlockId);
|
||||
}
|
||||
|
||||
public Data getData(int x, byte y, int z) {
|
||||
public Data getData(int x, int y, int z) {
|
||||
int index = getBlockIndex(x, y, z);
|
||||
return getData(index);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user