diff options
author | Thinkofdeath <thinkofdeath@spigotmc.org> | 2014-12-02 23:57:29 +0000 |
---|---|---|
committer | Thinkofdeath <thinkofdeath@spigotmc.org> | 2014-12-02 23:57:29 +0000 |
commit | a972ddfc74bd3fa174abe7be1bde873d5a260c3d (patch) | |
tree | ce5269a3f210acd8a6bf834e0b5a0c210b29d297 /src/main/java/org/bukkit | |
parent | 1613d09138a8a18635920ccff5ccade6130daf76 (diff) | |
download | craftbukkit-a972ddfc74bd3fa174abe7be1bde873d5a260c3d.tar craftbukkit-a972ddfc74bd3fa174abe7be1bde873d5a260c3d.tar.gz craftbukkit-a972ddfc74bd3fa174abe7be1bde873d5a260c3d.tar.lz craftbukkit-a972ddfc74bd3fa174abe7be1bde873d5a260c3d.tar.xz craftbukkit-a972ddfc74bd3fa174abe7be1bde873d5a260c3d.zip |
Missed a case
Diffstat (limited to 'src/main/java/org/bukkit')
-rw-r--r-- | src/main/java/org/bukkit/craftbukkit/CraftChunk.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftChunk.java b/src/main/java/org/bukkit/craftbukkit/CraftChunk.java index 38a25ea0..b1f6a207 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftChunk.java +++ b/src/main/java/org/bukkit/craftbukkit/CraftChunk.java @@ -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() { |