Update chunk handling.

This commit is contained in:
Erik Broes committed 2011-02-02 00:29:37 +01:00
1 parent 21b8ef4435
commit 1dac92a766
6 files changed
+695 -203

No files matched your search

@@ -80,9 +80,7 @@ public class ChunkProviderServer implements IChunkProvider {
* the World constructor. We can't reliably alter that, so we have
* no way of creating a CraftWorld/CraftServer at that point.
*/
CraftWorld world = g.getWorld();
CraftChunk cchunk = world.updateChunk(i, j);
server.getPluginManager().callEvent(new ChunkLoadEvent(Type.CHUNK_LOADED, cchunk));
server.getPluginManager().callEvent(new ChunkLoadEvent(Type.CHUNK_LOADED, chunk.bukkitChunk));
}
// CraftBukkit end