fix: undefined traits

This commit is contained in:
cha0s 2021-01-20 19:42:01 -06:00
parent 7098e29ef3
commit dfeab466fe

View File

@ -277,7 +277,7 @@ export default (latus) => class Receptacle extends decorate(Trait) {
}
packets(informed) {
return informed === this.entity ? this.packetUpdates : undefined;
return informed === this.entity ? this.packetUpdates : [];
}
queryItem(item) {