Fix issue with some modifiers not loading after loading session
parent
bbf42f28fb
commit
6941e6bdce
|
@ -22,7 +22,7 @@ export default class ModifierData {
|
|||
this.typePregenArgs = (source.type as GeneratedPersistentModifierType).getPregenArgs();
|
||||
} else if (source.typePregenArgs)
|
||||
this.typePregenArgs = source.typePregenArgs;
|
||||
this.args = sourceModifier ? sourceModifier.getArgs() : source.args;
|
||||
this.args = sourceModifier ? sourceModifier.getArgs() : source.args || [];
|
||||
this.stackCount = source.stackCount;
|
||||
this.className = sourceModifier ? sourceModifier.constructor.name : source.className;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue