fix: only send item traits to owner

This commit is contained in:
cha0s 2019-10-07 03:45:59 -05:00
parent 0305106ce5
commit 39175dc729

View File

@ -137,8 +137,10 @@ export class Receptacle extends decorate(Trait) {
}
packets(informed) {
if (informed === this.entity) {
return this.packetUpdates;
}
}
removeListenersForItem(item) {
item.off('qtyChanged', this.qtyListeners.get(item));