mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2024-11-22 15:05:18 +01:00
Fixed Thrive and Prosperity for players wearing armor from older versions
This commit is contained in:
parent
7ce16e881a
commit
324a6362f7
@ -34,6 +34,8 @@ public class Thrive extends EcoEnchant {
|
||||
|
||||
assert inst != null;
|
||||
|
||||
inst.setBaseValue(inst.getDefaultValue());
|
||||
|
||||
if (this.getDisabledWorlds().contains(player.getWorld())) {
|
||||
points = 0;
|
||||
}
|
||||
|
@ -34,6 +34,8 @@ public class Prosperity extends EcoEnchant {
|
||||
|
||||
assert inst != null;
|
||||
|
||||
inst.setBaseValue(inst.getDefaultValue());
|
||||
|
||||
if (this.getDisabledWorlds().contains(player.getWorld())) {
|
||||
points = 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user