From 0e7b9834f94420a12ab29e0720400b5fc8e13ab7 Mon Sep 17 00:00:00 2001 From: Nathan Adams Date: Thu, 1 Mar 2012 17:07:02 +0000 Subject: [PATCH] Potentially fixed crash when building at max world height --- src/main/java/net/minecraft/server/World.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/minecraft/server/World.java b/src/main/java/net/minecraft/server/World.java index e9ac624662..6cbadc1c6c 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); } }