Fix weird conditional in `EquipAffixData`

This commit is contained in:
Melledy 2022-08-25 12:03:26 -07:00
parent 1c3a6fc837
commit 79323a05e3
No known key found for this signature in database
GPG Key ID: 2A8E7A1D64737CCB
1 changed files with 1 additions and 1 deletions

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);
}