Skip to content

Commit fb3a892

Browse files
committed
Add disable if MV is used
1 parent b1db4c1 commit fb3a892

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/main/java/world/bentobox/boxed/Boxed.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,11 @@ public void onEnable() {
131131
if (this.getPlugin().getAddonsManager().getAddonByName("InvSwitcher").isEmpty()) {
132132
this.logWarning("Boxed normally requires the InvSwitcher addon for per-world Advancements.");
133133
}
134+
if (Bukkit.getPluginManager().isPluginEnabled("MultiverseCore")) {
135+
this.logError("Boxed is not compatible with Multiverse! Disabling!");
136+
this.setState(State.DISABLED);
137+
return;
138+
}
134139
// Advancements manager
135140
advManager = new AdvancementsManager(this);
136141
// Make flags only applicable to this game mode

0 commit comments

Comments
 (0)