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