From e207d9829d961ad9a6a826ab1f8ed229dd6ffe2f Mon Sep 17 00:00:00 2001 From: Glitchfinder Date: Tue, 12 Jun 2012 01:15:51 -0700 Subject: [PATCH] Fixed a bug where the list of edited blocks for the lowest quarter of a chunk were not loaded. --- .../com/gmail/nossr50/util/blockmeta/HashChunkletManager.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/gmail/nossr50/util/blockmeta/HashChunkletManager.java b/src/main/java/com/gmail/nossr50/util/blockmeta/HashChunkletManager.java index bb339b969..49c59626e 100644 --- a/src/main/java/com/gmail/nossr50/util/blockmeta/HashChunkletManager.java +++ b/src/main/java/com/gmail/nossr50/util/blockmeta/HashChunkletManager.java @@ -26,7 +26,7 @@ public class HashChunkletManager implements ChunkletManager { File czDir = new File(cxDir, "" + cz); if(!czDir.exists()) return; - for(int y = 1; y <= 4; y++) { + for(int y = 0; y <= 4; y++) { File yFile = new File(czDir, "" + y); if(!yFile.exists()) { continue; @@ -43,7 +43,7 @@ public class HashChunkletManager implements ChunkletManager { public void chunkUnloaded(int cx, int cz, World world) { File dataDir = new File(world.getWorldFolder(), "mcmmo_data"); - for(int y = 1; y <= 4; y++) { + for(int y = 0; y <= 4; y++) { if(store.containsKey(world.getName() + "," + cx + "," + cz + "," + y)) { File cxDir = new File(dataDir, "" + cx); if(!cxDir.exists()) cxDir.mkdir();