Fix P2 block setting in some instances

PlotSquared doesn't flush from the same thread, so it can't be pooled for reuse
This commit is contained in:
Jesse Boyd 2019-11-12 22:32:26 +00:00
parent ac6f4ae358
commit 2354c1a845
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F

View File

@ -19,7 +19,6 @@ import com.sk89q.worldedit.world.registry.LegacyMapper;
public class FaweLocalBlockQueue extends LocalBlockQueue {
public final IQueueExtent IMP;
private final LegacyMapper legacyMapper;
private final World world;
private BlockVector3 mutable = new MutableBlockVector3();
@ -27,7 +26,7 @@ public class FaweLocalBlockQueue extends LocalBlockQueue {
super(worldName);
this.world = FaweAPI.getWorld(worldName);
IMP = Fawe.get().getQueueHandler().getQueue(world);
legacyMapper = LegacyMapper.getInstance();
Fawe.get().getQueueHandler().uncache();
}
@Override