diff --git a/common/traits/receptacle.trait.js b/common/traits/receptacle.trait.js index 0cf384f..6a6cd77 100644 --- a/common/traits/receptacle.trait.js +++ b/common/traits/receptacle.trait.js @@ -147,6 +147,14 @@ export class Receptacle extends decorate(Trait) { this.qtyListeners.delete(item); } + toNetwork(informed) { + const json = this.toJSON(); + if (informed !== this.entity) { + json.params.slots = {}; + } + return json; + } + methods() { return {