Fixed 2 backend issues
This commit is contained in:
@@ -18,6 +18,7 @@ dependencies {
|
||||
compileOnly 'fr.neatmonster:nocheatplus:3.16.1-SNAPSHOT'
|
||||
compileOnly 'com.github.jiangdashao:matrix-api-repo:317d4635fd'
|
||||
compileOnly 'com.gmail.nossr50.mcMMO:mcMMO:2.1.157'
|
||||
compileOnly 'me.clip:placeholderapi:2.10.9'
|
||||
|
||||
// CombatLogX V10 + NewbieHelper Expansion
|
||||
compileOnly 'com.SirBlobman.combatlogx:CombatLogX-API:10.0.0.0-SNAPSHOT'
|
||||
|
||||
@@ -42,7 +42,7 @@ public class ShapedRecipeListener extends PluginDependent<EcoPlugin> implements
|
||||
return;
|
||||
}
|
||||
|
||||
if (!EcoPlugin.LOADED_ECO_PLUGINS.contains(recipe.getKey().getNamespace())) {
|
||||
if (!EcoPlugin.getPluginNames().contains(recipe.getKey().getNamespace())) {
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -72,7 +72,7 @@ public class ShapedRecipeListener extends PluginDependent<EcoPlugin> implements
|
||||
return;
|
||||
}
|
||||
|
||||
if (!EcoPlugin.LOADED_ECO_PLUGINS.contains(recipe.getKey().getNamespace())) {
|
||||
if (!EcoPlugin.getPluginNames().contains(recipe.getKey().getNamespace())) {
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -106,7 +106,7 @@ public class ShapedRecipeListener extends PluginDependent<EcoPlugin> implements
|
||||
return;
|
||||
}
|
||||
|
||||
if (!EcoPlugin.LOADED_ECO_PLUGINS.contains(recipe.getKey().getNamespace())) {
|
||||
if (!EcoPlugin.getPluginNames().contains(recipe.getKey().getNamespace())) {
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -200,7 +200,7 @@ public class ShapedRecipeListener extends PluginDependent<EcoPlugin> implements
|
||||
return;
|
||||
}
|
||||
|
||||
if (EcoPlugin.LOADED_ECO_PLUGINS.contains(recipe.getKey().getNamespace())) {
|
||||
if (EcoPlugin.getPluginNames().contains(recipe.getKey().getNamespace())) {
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -223,7 +223,7 @@ public class ShapedRecipeListener extends PluginDependent<EcoPlugin> implements
|
||||
return;
|
||||
}
|
||||
|
||||
if (EcoPlugin.LOADED_ECO_PLUGINS.contains(recipe.getKey().getNamespace())) {
|
||||
if (EcoPlugin.getPluginNames().contains(recipe.getKey().getNamespace())) {
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -244,7 +244,7 @@ public class ShapedRecipeListener extends PluginDependent<EcoPlugin> implements
|
||||
*/
|
||||
@EventHandler
|
||||
public void preventLearningDisplayedRecipes(@NotNull final PlayerRecipeDiscoverEvent event) {
|
||||
if (!EcoPlugin.LOADED_ECO_PLUGINS.contains(event.getRecipe().getNamespace())) {
|
||||
if (!EcoPlugin.getPluginNames().contains(event.getRecipe().getNamespace())) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user