Fixed maps crashing/disconnecting the client under certain circumstances.

This commit is contained in:
EvilSeph 2011-07-21 13:32:16 -04:00
parent bfa22f3025
commit 97a6534ee6

View File

@ -101,6 +101,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 (!flag1); } while (!flag1);