mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-28 11:44:42 +02:00
nope.avi
Revert "Protect placeStore. It's ugly and still needs work."
This reverts commit 1fe182babe
.
This commit is contained in:
@ -619,9 +619,11 @@ public class HashChunkManager implements ChunkManager {
|
||||
|
||||
List<Entity> tempSpawnedMobs = new ArrayList<Entity>(spawnedMobs);
|
||||
for (Entity entity : tempSpawnedMobs) {
|
||||
if (entity.isDead() || !entity.isValid()) {
|
||||
if (entity.isDead())
|
||||
mobsToRemove.add(entity);
|
||||
|
||||
if (!entity.isValid())
|
||||
mobsToRemove.add(entity);
|
||||
}
|
||||
}
|
||||
|
||||
spawnedMobs.removeAll(mobsToRemove);
|
||||
|
@ -34,7 +34,7 @@ public class BlockStoreConversionZDirectory implements Runnable {
|
||||
this.world = world;
|
||||
this.scheduler = mcMMO.p.getServer().getScheduler();
|
||||
this.manager = new HashChunkletManager();
|
||||
this.newManager = (HashChunkManager) mcMMO.p.getChunkStore();
|
||||
this.newManager = (HashChunkManager) mcMMO.placeStore;
|
||||
this.dataDir = dataDir;
|
||||
this.xDir = xDir;
|
||||
|
||||
|
Reference in New Issue
Block a user