summaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authorTahg <tahgtahv@gmail.com>2011-02-23 22:36:56 -0500
committerTahg <tahgtahv@gmail.com>2011-02-23 22:36:56 -0500
commitedb0debd1627957dd96f09f4d55a4fe1bf9e60b7 (patch)
tree44def8c1f13ee426e060691e44651b22841e2b18 /src/main
parent2db976c84038acbdfaa3c019e8b2987c12954070 (diff)
downloadcraftbukkit-edb0debd1627957dd96f09f4d55a4fe1bf9e60b7.tar
craftbukkit-edb0debd1627957dd96f09f4d55a4fe1bf9e60b7.tar.gz
craftbukkit-edb0debd1627957dd96f09f4d55a4fe1bf9e60b7.tar.lz
craftbukkit-edb0debd1627957dd96f09f4d55a4fe1bf9e60b7.tar.xz
craftbukkit-edb0debd1627957dd96f09f4d55a4fe1bf9e60b7.zip
attempt to track down some bugs
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/net/minecraft/server/World.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/java/net/minecraft/server/World.java b/src/main/java/net/minecraft/server/World.java
index c990a9d6..50c07c1a 100644
--- a/src/main/java/net/minecraft/server/World.java
+++ b/src/main/java/net/minecraft/server/World.java
@@ -203,6 +203,12 @@ public class World implements IBlockAccess {
}
result = lastChunkAccessed;
}
+ if(result.j != i || result.k != j) {
+ if(this instanceof WorldServer) {
+ WorldServer ws = (WorldServer) this;
+ MinecraftServer.a.severe("Chunk fetched was not the chunk requested.");
+ }
+ }
return result;
}
// CraftBukkit end