Merge pull request #3990 from Thorinwasher/v3.0
Disable the plugin if on the wrong platform
This commit is contained in:
commit
a3da35510d
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue