mirror of https://github.com/webbukkit/dynmap.git
Merge pull request #3990 from Thorinwasher/v3.0
Disable the plugin if on the wrong platform
This commit is contained in:
commit
31d1b400f0
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue