Check for PlotSquared before initializing the feature class

Some users are experiencing issues during startup with FAWE not finding PlotSquared resulting in errors.
Dieser Commit ist enthalten in:
IronApollo 2020-02-22 21:02:12 -05:00
Ursprung 3a050fba3b
Commit 14ac3205ce

Datei anzeigen

@ -325,6 +325,7 @@ public class FaweBukkit implements IFawe, Listener {
}
private void setupPlotSquared() {
if(this.plugin.getServer().getPluginManager().getPlugin("PlotSquared") == null) return;
WEManager.IMP.managers.add(new com.boydti.fawe.bukkit.regions.plotsquared.PlotSquaredFeature());
log.debug("Plugin 'PlotSquared' found. Using it now.");
}