Reintegrated AuthMe Inventory-Events
This commit is contained in:
parent
57ad7aaa8d
commit
8e9dcd59f8
2 changed files with 7 additions and 3 deletions
5
pom.xml
5
pom.xml
|
@ -84,7 +84,7 @@
|
|||
<!-- http://dev.bukkit.org/server-mods/authme-reloaded/ -->
|
||||
<groupId>uk.org.whoami</groupId>
|
||||
<artifactId>authme</artifactId>
|
||||
<version>2.7.12</version>
|
||||
<version>2.9.3</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<!-- http://dev.bukkit.org/server-mods/multiverse-core/ -->
|
||||
|
@ -146,7 +146,8 @@
|
|||
<softdepend>
|
||||
<param>WorldGuard</param>
|
||||
<param>WorldEdit</param>
|
||||
<param>MultiInv</param>
|
||||
<param>Multiverse-Core</param>
|
||||
<param>Multiworld</param>
|
||||
<param>xAuth</param>
|
||||
<param>AuthMe</param>
|
||||
<param>MultiInv</param>
|
||||
|
|
|
@ -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<LimitedCreative> {
|
|||
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()));
|
||||
|
|
Loading…
Reference in a new issue