Fix weird conditional in EquipAffixData

This commit is contained in:
Melledy
2022-08-25 12:03:26 -07:00
parent 1c3a6fc837
commit 79323a05e3

View File

@@ -49,7 +49,7 @@ public class EquipAffixData extends GameResource {
public void onLoad() {
ArrayList<FightPropData> parsed = new ArrayList<FightPropData>(getAddProps().length);
for (FightPropData prop : getAddProps()) {
if (prop.getPropType() != null || prop.getValue() == 0f) {
if (prop.getPropType() != null && prop.getValue() != 0f) {
prop.onLoad();
parsed.add(prop);
}