diff options
author | EvilSeph <evilseph@gmail.com> | 2011-07-21 13:32:16 -0400 |
---|---|---|
committer | EvilSeph <evilseph@gmail.com> | 2011-07-21 22:35:58 -0400 |
commit | 97a6534ee60f70cdc7395b8a7aa5c57ff1200090 (patch) | |
tree | 7787f9677ed24b076961dafdbae8aac081045ea2 /src/main/java/net/minecraft/server | |
parent | bfa22f30258e747d444f99529bd626ed68422d14 (diff) | |
download | craftbukkit-97a6534ee60f70cdc7395b8a7aa5c57ff1200090.tar craftbukkit-97a6534ee60f70cdc7395b8a7aa5c57ff1200090.tar.gz craftbukkit-97a6534ee60f70cdc7395b8a7aa5c57ff1200090.tar.lz craftbukkit-97a6534ee60f70cdc7395b8a7aa5c57ff1200090.tar.xz craftbukkit-97a6534ee60f70cdc7395b8a7aa5c57ff1200090.zip |
Fixed maps crashing/disconnecting the client under certain circumstances.
Diffstat (limited to 'src/main/java/net/minecraft/server')
-rw-r--r-- | src/main/java/net/minecraft/server/ItemWorldMap.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/net/minecraft/server/ItemWorldMap.java b/src/main/java/net/minecraft/server/ItemWorldMap.java index c098aeb6..1995346d 100644 --- a/src/main/java/net/minecraft/server/ItemWorldMap.java +++ b/src/main/java/net/minecraft/server/ItemWorldMap.java @@ -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); |