Changes to fix some PlotSquared compatibility issues, plus fix block Mask parsing

This commit is contained in:
IronApollo
2019-02-27 08:09:04 -05:00
parent 24fbc86cdd
commit 3ffb5ff00d
6 changed files with 11 additions and 14 deletions

View File

@ -213,10 +213,10 @@ public class Fawe {
try {
transformParser = new DefaultTransformParser(getWorldEdit());
visualQueue = new VisualQueue(3);
// WEManager.IMP.managers.addAll(Fawe.this.IMP.getMaskManagers());
// WEManager.IMP.managers.add(new PlotSquaredFeature());
// Fawe.debug("Plugin 'PlotSquared' found. Using it now.");
} catch (Throwable e) {e.printStackTrace();}
WEManager.IMP.managers.addAll(Fawe.this.IMP.getMaskManagers());
WEManager.IMP.managers.add(new PlotSquaredFeature());
Fawe.debug("Plugin 'PlotSquared' found. Using it now.");
} catch (Throwable e) {}
}, 0);
TaskManager.IMP.repeat(timer, 1);

View File

@ -33,7 +33,7 @@ public class PlotSquaredFeature extends FaweMaskManager {
public PlotSquaredFeature() {
super("PlotSquared");
Fawe.debug("Optimizing PlotSquared");
PlotSquared.get().worldedit = null;
// PlotSquared.get().worldedit = null;
setupBlockQueue();
setupSchematicHandler();
setupChunkManager();