geforkt von Mirrors/FastAsyncWorldEdit
Add a check to prevent PlotSquared Features from trying to load.
Dieser Commit ist enthalten in:
Ursprung
da3019ae3d
Commit
183d733825
@ -84,10 +84,12 @@ public class FaweBukkit implements IFawe, Listener {
|
|||||||
if (PaperLib.isPaper() && Settings.IMP.EXPERIMENTAL.DYNAMIC_CHUNK_RENDERING > 1) {
|
if (PaperLib.isPaper() && Settings.IMP.EXPERIMENTAL.DYNAMIC_CHUNK_RENDERING > 1) {
|
||||||
new RenderListener(plugin);
|
new RenderListener(plugin);
|
||||||
}
|
}
|
||||||
try {
|
if (Bukkit.getPluginManager().getPlugin("PlotSquared") != null) {
|
||||||
WEManager.IMP.managers.add(new PlotSquaredFeature());
|
try {
|
||||||
} catch (Exception ignored) {
|
WEManager.IMP.managers.add(new PlotSquaredFeature());
|
||||||
//Not everyone uses or needs PlotSquared.
|
} catch (Exception ignored) {
|
||||||
|
//Not everyone uses or needs PlotSquared.
|
||||||
|
}
|
||||||
}
|
}
|
||||||
} catch (final Throwable e) {
|
} catch (final Throwable e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren