9
0
mirror of https://github.com/Auxilor/EcoSkills.git synced 2026-01-03 14:22:17 +00:00

Fixed ItemStatModifier having incorrect behaviour

This commit is contained in:
Auxilor
2021-10-03 14:44:38 +01:00
parent 17da1e8e37
commit 44b8e0b1a6

View File

@@ -41,7 +41,7 @@ public class ItemStatModifier implements StatModifier {
this.key = key;
this.stat = stat;
this.amount = amount;
this.slots = slot;
this.slots = slot.length == 0 ? EquipmentSlot.values() : slot;
}
@Override