fix: sync defaults
This commit is contained in:
parent
c218f91d71
commit
b64073fe50
|
@ -217,7 +217,16 @@ export default (latus) => class Entity extends decorate(JsonResource) {
|
|||
}
|
||||
}
|
||||
if (updates.length > 0) {
|
||||
packets.push(['EntityUpdateTrait', {traits: updates}]);
|
||||
packets.push([
|
||||
'EntityUpdateTrait',
|
||||
{
|
||||
synchronized: {
|
||||
id: 0,
|
||||
type: 0,
|
||||
},
|
||||
traits: updates,
|
||||
},
|
||||
]);
|
||||
}
|
||||
return packets;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user