Fixed getChunkAt and usage.

This commit is contained in:
Erik Broes
2011-01-18 12:37:01 +01:00
parent 3143e503fe
commit 90c52739c4
2 changed files with 3 additions and 3 deletions

View File

@@ -64,7 +64,7 @@ public class CraftWorld implements World {
}
public Chunk getChunkAt(Block block) {
return getChunkAt(block.getX() << 4, block.getZ() << 4);
return getChunkAt(block.getX() >> 4, block.getZ() >> 4);
}
public boolean isChunkLoaded(Chunk chunk) {