Skip to content

Commit

Permalink
Windows is case sensitive to addon names.
Browse files Browse the repository at this point in the history
Fixes #11
  • Loading branch information
tastybento committed Mar 13, 2021
1 parent 49fd728 commit 11b44af
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/world/bentobox/boxed/Boxed.java
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ public void onLoad() {
if (isNoWGAPI()) {
logError("WorldGeneratorAPI plugin is required.");
logError("Download the correct one for your server from https://github.com/rutgerkok/WorldGeneratorApi/releases");
this.setState(State.DISABLED);
return;
}
// Chunk generator
Expand All @@ -74,7 +75,7 @@ public void onLoad() {
}

private boolean isNoWGAPI() {
return Bukkit.getPluginManager().getPlugin("WorldGeneratorAPI") == null;
return Bukkit.getPluginManager().getPlugin("WorldGeneratorApi") == null;
}

private boolean loadSettings() {
Expand Down

0 comments on commit 11b44af

Please sign in to comment.