mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-26 23:26:45 +01:00
Changing chunk unloading to patch logic hole for entity tracking.
This commit is contained in:
parent
ed68f227ac
commit
d09526e470
@ -19,7 +19,6 @@ import org.bukkit.block.Block;
|
|||||||
import org.bukkit.entity.Entity;
|
import org.bukkit.entity.Entity;
|
||||||
import org.bukkit.entity.LivingEntity;
|
import org.bukkit.entity.LivingEntity;
|
||||||
|
|
||||||
import com.gmail.nossr50.runnables.ChunkletUnloader;
|
|
||||||
import com.gmail.nossr50.runnables.blockstoreconversion.BlockStoreConversionZDirectory;
|
import com.gmail.nossr50.runnables.blockstoreconversion.BlockStoreConversionZDirectory;
|
||||||
|
|
||||||
import org.getspout.spoutapi.chunkstore.mcMMOSimpleRegionFile;
|
import org.getspout.spoutapi.chunkstore.mcMMOSimpleRegionFile;
|
||||||
@ -346,7 +345,7 @@ public class HashChunkManager implements ChunkManager {
|
|||||||
if (world == null)
|
if (world == null)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
ChunkletUnloader.addToList(cx, cz, world);
|
unloadChunk(cx, cz, world);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user