Update DynmapPlugin.java

This commit is contained in:
Thorinwasher 2023-07-10 11:45:27 +02:00
parent e336ed4871
commit 7842e9bdf9

View file

@ -914,6 +914,7 @@ public class DynmapPlugin extends JavaPlugin implements DynmapAPI {
} }
if (helper == null) { if (helper == null) {
Log.info("Dynmap is disabled (unsupported platform)"); Log.info("Dynmap is disabled (unsupported platform)");
this.setEnabled(false);
return; return;
} }
PluginDescriptionFile pdfFile = this.getDescription(); PluginDescriptionFile pdfFile = this.getDescription();