From 8e9dcd59f83bb51d3273f5eb64452d8d741d98a6 Mon Sep 17 00:00:00 2001 From: Jascha Starke Date: Sat, 14 Sep 2013 15:13:53 +0200 Subject: [PATCH] Reintegrated AuthMe Inventory-Events --- pom.xml | 5 +++-- .../minecraft/limitedcreative/ModInventories.java | 5 ++++- 2 files changed, 7 insertions(+), 3 deletions(-) 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()));