Fixed maps crashing/disconnecting the client under certain circumstances.

This commit is contained in:
EvilSeph committed 2011-07-21 22:35:58 -04:00
1 parent bfa22f3025
commit 97a6534ee6
1 file changed
+1
@@ -101,6 +101,7 @@ public class ItemWorldMap extends ItemWorldMapBase {
if (!flag1) {
--k4;
if (k4 <= 0) break; // CraftBukkit
j5 = chunk.getTypeId(l4 + k3, k4 - 1, j4 + l3);
}
} while (!flag1);