Fixed libreforge migration bug

This commit is contained in:
Auxilor 2022-07-24 22:52:14 +01:00
parent abd37be407
commit 8f6fd5509b

View File

@ -75,7 +75,7 @@ public class CustomEnchantEnableListeners extends PluginDependent<EcoPlugin> imp
for (CustomEcoEnchantLevel level : enchant.getLevels()) { for (CustomEcoEnchantLevel level : enchant.getLevels()) {
for (ConfiguredEffect effect : level.getEffects()) { for (ConfiguredEffect effect : level.getEffects()) {
effect.getEffect().disableForPlayer(player); effect.disableFor(player);
} }
} }
} }