fix: only send item traits to owner
This commit is contained in:
parent
0305106ce5
commit
39175dc729
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue
Block a user