mirror of
https://github.com/Brettflan/WorldBorder.git
synced 2025-01-08 17:08:09 +01:00
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:
parent
713fc3f5b5
commit
1f3f9ba521
@ -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();
|
||||
}
|
||||
|
@ -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.
Loading…
Reference in New Issue
Block a user