Missed a case

This commit is contained in:
Thinkofdeath 2014-12-02 23:57:29 +00:00
parent 1613d09138
commit a972ddfc74

View File

@ -72,7 +72,7 @@ public class CraftChunk implements Chunk {
}
public Block getBlock(int x, int y, int z) {
return new CraftBlock(this, (getX() << 4) | (x & 0xF), y & 0xFF, (getZ() << 4) | (z & 0xF));
return new CraftBlock(this, (getX() << 4) | (x & 0xF), y, (getZ() << 4) | (z & 0xF));
}
public Entity[] getEntities() {