From edb0debd1627957dd96f09f4d55a4fe1bf9e60b7 Mon Sep 17 00:00:00 2001 From: Tahg Date: Wed, 23 Feb 2011 22:36:56 -0500 Subject: [PATCH] attempt to track down some bugs --- src/main/java/net/minecraft/server/World.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main/java/net/minecraft/server/World.java b/src/main/java/net/minecraft/server/World.java index c990a9d64d..50c07c1a6a 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