summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/main/java/net/minecraft/server/Chunk.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/net/minecraft/server/Chunk.java b/src/main/java/net/minecraft/server/Chunk.java
index ab006bbe..c2c7340c 100644
--- a/src/main/java/net/minecraft/server/Chunk.java
+++ b/src/main/java/net/minecraft/server/Chunk.java
@@ -330,14 +330,14 @@ public class Chunk {
}
public int getTypeId(int i, int j, int k) {
- if (j >> 4 >= sections.length) return 0;
+ if (j >> 4 >= sections.length) return 0; // CraftBukkit - added until next release
ChunkSection chunksection = this.sections[j >> 4];
return chunksection != null ? chunksection.a(i, j & 15, k) : 0;
}
public int getData(int i, int j, int k) {
- if (j >> 4 >= sections.length) return 0;
+ if (j >> 4 >= sections.length) return 0; // CraftBukkit - added until next release
ChunkSection chunksection = this.sections[j >> 4];
return chunksection != null ? chunksection.b(i, j & 15, k) : 0;