diff --git a/pom.xml b/pom.xml
index 360f103..f6cbf7e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -84,7 +84,7 @@
uk.org.whoami
authme
- 2.7.12
+ 2.9.3
@@ -146,7 +146,8 @@
WorldGuard
WorldEdit
- MultiInv
+ Multiverse-Core
+ Multiworld
xAuth
AuthMe
MultiInv
diff --git a/src/main/java/de/jaschastarke/minecraft/limitedcreative/ModInventories.java b/src/main/java/de/jaschastarke/minecraft/limitedcreative/ModInventories.java
index ab7514b..f5a0538 100644
--- a/src/main/java/de/jaschastarke/minecraft/limitedcreative/ModInventories.java
+++ b/src/main/java/de/jaschastarke/minecraft/limitedcreative/ModInventories.java
@@ -10,6 +10,7 @@ import org.bukkit.inventory.ItemStack;
import de.jaschastarke.bukkit.lib.CoreModule;
import de.jaschastarke.minecraft.limitedcreative.inventories.ArmoryConfig;
+import de.jaschastarke.minecraft.limitedcreative.inventories.AuthMeInventories;
import de.jaschastarke.minecraft.limitedcreative.inventories.Inventory;
import de.jaschastarke.minecraft.limitedcreative.inventories.InventoryConfig;
import de.jaschastarke.minecraft.limitedcreative.inventories.InventoryPermissions;
@@ -45,7 +46,9 @@ public class ModInventories extends CoreModule {
entry.initialState = ModuleState.DISABLED;
return;
}
-
+ if (plugin.getServer().getPluginManager().isPluginEnabled("AuthMe")) {
+ addModule(new AuthMeInventories(plugin, this));
+ }
String incomp = Hooks.InventoryIncompatible.test();
if (config.getEnabled() && incomp != null) {
getLog().warn(plugin.getLocale().trans("inventory.warning.conflict", incomp, this.getName()));