Fixed maps crashing/disconnecting the client under certain circumstances.

This commit is contained in:
EvilSeph 2012-01-29 01:15:55 -05:00
parent 9b635aacc4
commit 1ea0037f49

View File

@ -112,6 +112,7 @@ public class ItemWorldMap extends ItemWorldMapBase {
if (!flag1) { if (!flag1) {
--k4; --k4;
if (k4 <= 0) break; // CraftBukkit
j5 = chunk.getTypeId(l4 + k3, k4 - 1, j4 + l3); j5 = chunk.getTypeId(l4 + k3, k4 - 1, j4 + l3);
} }
} while (k4 > 0 && !flag1); } while (k4 > 0 && !flag1);