From 02a1c24746d788ea10a98354e8c6bde8bb941349 Mon Sep 17 00:00:00 2001 From: Raphfrk Date: Fri, 21 Jan 2011 04:57:33 +0800 Subject: [PATCH] added load chunk method --- src/main/java/org/bukkit/craftbukkit/CraftWorld.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java index a03d26db97..e4989c4e8a 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java +++ b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java @@ -75,6 +75,11 @@ public class CraftWorld implements World { return world.A.a(chunk.getX(), chunk.getZ()); } + public void loadChunk(Chunk chunk) { + world.A.d(chunk.getX(), chunk.getZ()); + } + + public Block updateBlock(int x, int y, int z) { BlockCoordinate loc = new BlockCoordinate(x, y, z); CraftBlock block = (CraftBlock)blockCache.get(loc);