Skip to content

Commit

Permalink
Merge pull request #3990 from Thorinwasher/v3.0
Browse files Browse the repository at this point in the history
Disable the plugin if on the wrong platform
  • Loading branch information
mikeprimm authored Aug 29, 2023
2 parents 105e388 + 2503dbf commit 31d1b40
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spigot/src/main/java/org/dynmap/bukkit/DynmapPlugin.java
Original file line number Diff line number Diff line change
Expand Up @@ -914,6 +914,7 @@ public void onEnable() {
}
if (helper == null) {
Log.info("Dynmap is disabled (unsupported platform)");
this.setEnabled(false);
return;
}
PluginDescriptionFile pdfFile = this.getDescription();
Expand Down

0 comments on commit 31d1b40

Please sign in to comment.