diff --git a/packages/entity/list/index.js b/packages/entity/list/index.js index cb5252d..f89b76e 100644 --- a/packages/entity/list/index.js +++ b/packages/entity/list/index.js @@ -33,9 +33,11 @@ export class EntityList extends decorate(class {}) { acceptPacket(packet) { if (packet instanceof EntityCreatePacket) { - const entity = new Entity(packet.data); - entity.instanceUuid = packet.data.uuid; - this.addEntity(entity); + if (!this.findEntity(packet.data.uuid)) { + const entity = new Entity(packet.data); + entity.instanceUuid = packet.data.uuid; + this.addEntity(entity); + } } }