mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-22 15:38:24 +00:00
Fix weird conditional in EquipAffixData
This commit is contained in:
parent
1c3a6fc837
commit
79323a05e3
@ -49,7 +49,7 @@ public class EquipAffixData extends GameResource {
|
|||||||
public void onLoad() {
|
public void onLoad() {
|
||||||
ArrayList<FightPropData> parsed = new ArrayList<FightPropData>(getAddProps().length);
|
ArrayList<FightPropData> parsed = new ArrayList<FightPropData>(getAddProps().length);
|
||||||
for (FightPropData prop : getAddProps()) {
|
for (FightPropData prop : getAddProps()) {
|
||||||
if (prop.getPropType() != null || prop.getValue() == 0f) {
|
if (prop.getPropType() != null && prop.getValue() != 0f) {
|
||||||
prop.onLoad();
|
prop.onLoad();
|
||||||
parsed.add(prop);
|
parsed.add(prop);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user