Skip to content

Commit

Permalink
Add disable if MV is used
Browse files Browse the repository at this point in the history
  • Loading branch information
tastybento committed Nov 9, 2024
1 parent b1db4c1 commit fb3a892
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main/java/world/bentobox/boxed/Boxed.java
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,11 @@ public void onEnable() {
if (this.getPlugin().getAddonsManager().getAddonByName("InvSwitcher").isEmpty()) {
this.logWarning("Boxed normally requires the InvSwitcher addon for per-world Advancements.");
}
if (Bukkit.getPluginManager().isPluginEnabled("MultiverseCore")) {
this.logError("Boxed is not compatible with Multiverse! Disabling!");
this.setState(State.DISABLED);
return;
}
// Advancements manager
advManager = new AdvancementsManager(this);
// Make flags only applicable to this game mode
Expand Down

0 comments on commit fb3a892

Please sign in to comment.