diff --git a/pom.xml b/pom.xml
index 41af42e..4b99151 100644
--- a/pom.xml
+++ b/pom.xml
@@ -132,7 +132,7 @@
https://repo.codemc.org/repository/maven-public
-
+
MMOPlugins
https://mvn.lumine.io/repository/maven-releases/
@@ -252,9 +252,9 @@
provided
-->
- net.Indyuce
- MMOLib
- 1.4.0
+ io.lumine
+ MythicLib
+ 1.0.18
provided
diff --git a/src/com/dre/brewery/integration/IntegrationListener.java b/src/com/dre/brewery/integration/IntegrationListener.java
index ebea3df..fe1666f 100644
--- a/src/com/dre/brewery/integration/IntegrationListener.java
+++ b/src/com/dre/brewery/integration/IntegrationListener.java
@@ -15,7 +15,7 @@ import com.dre.brewery.integration.item.MMOItemsPluginItem;
import com.dre.brewery.recipe.BCauldronRecipe;
import com.dre.brewery.recipe.RecipeItem;
import com.dre.brewery.utility.LegacyUtil;
-import net.mmogroup.mmolib.api.item.NBTItem;
+import io.lumine.mythic.lib.api.item.NBTItem;
import org.bukkit.GameMode;
import org.bukkit.Material;
import org.bukkit.block.Block;
@@ -318,7 +318,8 @@ public class IntegrationListener implements Listener {
// Catch the Interact Event early, so MMOItems does not act before us and cancel the event while we try to add it to the Cauldron
if (!P.use1_9) return;
if (BConfig.hasMMOItems == null) {
- BConfig.hasMMOItems = P.p.getServer().getPluginManager().isPluginEnabled("MMOItems");
+ BConfig.hasMMOItems = P.p.getServer().getPluginManager().isPluginEnabled("MMOItems")
+ && P.p.getServer().getPluginManager().isPluginEnabled("MythicLib");
}
if (!BConfig.hasMMOItems) return;
try {
diff --git a/src/com/dre/brewery/integration/item/MMOItemsPluginItem.java b/src/com/dre/brewery/integration/item/MMOItemsPluginItem.java
index 8ef60b9..ff4eef4 100644
--- a/src/com/dre/brewery/integration/item/MMOItemsPluginItem.java
+++ b/src/com/dre/brewery/integration/item/MMOItemsPluginItem.java
@@ -3,7 +3,7 @@ package com.dre.brewery.integration.item;
import com.dre.brewery.P;
import com.dre.brewery.filedata.BConfig;
import com.dre.brewery.recipe.PluginItem;
-import net.mmogroup.mmolib.api.item.NBTItem;
+import io.lumine.mythic.lib.api.item.NBTItem;
import org.bukkit.inventory.ItemStack;
public class MMOItemsPluginItem extends PluginItem {
@@ -15,7 +15,8 @@ public class MMOItemsPluginItem extends PluginItem {
@Override
public boolean matches(ItemStack item) {
if (BConfig.hasMMOItems == null) {
- BConfig.hasMMOItems = P.p.getServer().getPluginManager().isPluginEnabled("MMOItems");
+ BConfig.hasMMOItems = P.p.getServer().getPluginManager().isPluginEnabled("MMOItems")
+ && P.p.getServer().getPluginManager().isPluginEnabled("MythicLib");
}
if (!BConfig.hasMMOItems) return false;