mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2024-11-26 15:45:12 +01:00
Fixed libreforge migration bug
This commit is contained in:
parent
abd37be407
commit
8f6fd5509b
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user