mirror of
https://github.com/webbukkit/dynmap.git
synced 2025-02-17 12:21:56 +01:00
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) {
|
||||
Log.info("Dynmap is disabled (unsupported platform)");
|
||||
this.setEnabled(false);
|
||||
return;
|
||||
}
|
||||
PluginDescriptionFile pdfFile = this.getDescription();
|
||||
|
Loading…
Reference in New Issue
Block a user