mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-15 01:24:41 +08:00
Small serialization fixes
This commit is contained in:
@@ -30,8 +30,8 @@ export default class ArrayEntity extends IEntity {
|
||||
).map(([_0, values, trailing]) => {
|
||||
values = values instanceof Array ? values : []
|
||||
let Self = this
|
||||
if (trailing !== undefined != Self.trailing) {
|
||||
Self = Self.flagTrailing()
|
||||
if ((trailing !== undefined) !== Self.trailing) {
|
||||
Self = Self.flagTrailing(trailing !== undefined)
|
||||
}
|
||||
const result = new Self(values)
|
||||
return result
|
||||
|
||||
Reference in New Issue
Block a user