Release 1.4.4: Workaround fix for new Bukkit error when the chunk unloading method is run on a chunk which isn't currently loaded

This commit is contained in:
Brettflan 2011-10-18 11:44:12 -05:00
parent 713fc3f5b5
commit 1f3f9ba521
3 changed files with 3 additions and 2 deletions

View File

@ -265,7 +265,8 @@ public class WorldTrimTask implements Runnable
{
for (CoordXZ unload : trimChunks)
{
world.unloadChunk(unload.x, unload.z, false, false);
if (world.isChunkLoaded(unload.x, unload.z))
world.unloadChunk(unload.x, unload.z, false, false);
}
counter += trimChunks.size();
}

View File

@ -1,7 +1,7 @@
name: WorldBorder
author: Brettflan
description: Efficient, feature-rich plugin for limiting the size of your worlds.
version: 1.4.3
version: 1.4.4
main: com.wimbli.WorldBorder.WorldBorder
softdepend:
- Essentials

Binary file not shown.