mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 01:37:37 +00:00
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:
parent
ac6f4ae358
commit
2354c1a845
@ -19,7 +19,6 @@ import com.sk89q.worldedit.world.registry.LegacyMapper;
|
|||||||
public class FaweLocalBlockQueue extends LocalBlockQueue {
|
public class FaweLocalBlockQueue extends LocalBlockQueue {
|
||||||
|
|
||||||
public final IQueueExtent IMP;
|
public final IQueueExtent IMP;
|
||||||
private final LegacyMapper legacyMapper;
|
|
||||||
private final World world;
|
private final World world;
|
||||||
private BlockVector3 mutable = new MutableBlockVector3();
|
private BlockVector3 mutable = new MutableBlockVector3();
|
||||||
|
|
||||||
@ -27,7 +26,7 @@ public class FaweLocalBlockQueue extends LocalBlockQueue {
|
|||||||
super(worldName);
|
super(worldName);
|
||||||
this.world = FaweAPI.getWorld(worldName);
|
this.world = FaweAPI.getWorld(worldName);
|
||||||
IMP = Fawe.get().getQueueHandler().getQueue(world);
|
IMP = Fawe.get().getQueueHandler().getQueue(world);
|
||||||
legacyMapper = LegacyMapper.getInstance();
|
Fawe.get().getQueueHandler().uncache();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user