Unverified Commit 79323a05 authored by Melledy's avatar Melledy
Browse files

Fix weird conditional in `EquipAffixData`

parent 1c3a6fc8
......@@ -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);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment