diff options
author | Nathan Adams <dinnerbone@dinnerbone.com> | 2012-03-01 17:07:02 +0000 |
---|---|---|
committer | Nathan Adams <dinnerbone@dinnerbone.com> | 2012-03-01 17:07:02 +0000 |
commit | 0e7b9834f94420a12ab29e0720400b5fc8e13ab7 (patch) | |
tree | d5cdb53dff3fb82a81ec6eaa284b7da0285cbc36 /src/main/java | |
parent | eb934c760dce045ff33ab58b35f2f2729b394751 (diff) | |
download | craftbukkit-0e7b9834f94420a12ab29e0720400b5fc8e13ab7.tar craftbukkit-0e7b9834f94420a12ab29e0720400b5fc8e13ab7.tar.gz craftbukkit-0e7b9834f94420a12ab29e0720400b5fc8e13ab7.tar.lz craftbukkit-0e7b9834f94420a12ab29e0720400b5fc8e13ab7.tar.xz craftbukkit-0e7b9834f94420a12ab29e0720400b5fc8e13ab7.zip |
Potentially fixed crash when building at max world height
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/net/minecraft/server/World.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/World.java b/src/main/java/net/minecraft/server/World.java index e9ac6246..6cbadc1c 100644 --- a/src/main/java/net/minecraft/server/World.java +++ b/src/main/java/net/minecraft/server/World.java @@ -2284,7 +2284,7 @@ public class World implements IBlockAccess { i5 = 1; } - if (l2 == k2 - i5 && i1 <= this.E.length) { + if (l2 == k2 - i5 && i1 < this.E.length) { // CraftBukkit - <= to < this.E[i1++] = j4 - i + 32 + (k4 - j + 32 << 6) + (l4 - k + 32 << 12) + (k2 - i5 << 18); } } |