mirror of
https://github.com/boy0001/FastAsyncWorldedit.git
synced 2024-11-28 13:45:36 +01:00
parent
5a3182ea55
commit
072d1063eb
@ -400,12 +400,14 @@ public class Sniper {
|
|||||||
FaweChangeSet changeSet = changeQueue.getChangeSet();
|
FaweChangeSet changeSet = changeQueue.getChangeSet();
|
||||||
FawePlayer<Object> fp = FawePlayer.wrap(getPlayer());
|
FawePlayer<Object> fp = FawePlayer.wrap(getPlayer());
|
||||||
LocalSession session = fp.getSession();
|
LocalSession session = fp.getSession();
|
||||||
baseQueue.flush();
|
|
||||||
session.remember(changeSet.toEditSession(fp));
|
session.remember(changeSet.toEditSession(fp));
|
||||||
changeQueue.flush();
|
|
||||||
com.sk89q.worldedit.world.World worldEditWorld = fp.getWorld();
|
com.sk89q.worldedit.world.World worldEditWorld = fp.getWorld();
|
||||||
changeSet = FaweChangeSet.getDefaultChangeSet(worldEditWorld, fp.getUUID());
|
changeSet = FaweChangeSet.getDefaultChangeSet(worldEditWorld, fp.getUUID());
|
||||||
changeQueue.setChangeSet(changeSet);
|
changeQueue.setChangeSet(changeSet);
|
||||||
|
// NEW QUEUE?
|
||||||
|
tmpWorld = null;
|
||||||
|
baseQueue = null;
|
||||||
|
changeQueue = null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user