From 9e6df804ce6af2e25ec1f1f2c37f81f137dbd5f1 Mon Sep 17 00:00:00 2001 From: cha0s Date: Thu, 25 Jun 2020 09:53:49 -0500 Subject: [PATCH] fix: treat spawns as void --- packages/entity/traits/spawner.trait.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/entity/traits/spawner.trait.js b/packages/entity/traits/spawner.trait.js index b682952..86c5fce 100644 --- a/packages/entity/traits/spawner.trait.js +++ b/packages/entity/traits/spawner.trait.js @@ -21,7 +21,7 @@ export default class Spawner extends decorate(Trait) { }, spawn: { cycle: true, - type: 'entity', + type: 'void|entity', label: 'Spawn $1 with $2 extensions.', args: [ ['key', { @@ -35,7 +35,7 @@ export default class Spawner extends decorate(Trait) { }, spawnAt: { cycle: true, - type: 'entity', + type: 'void|entity', label: 'Spawn $1 as $2 with $3 extensions.', args: [ ['key', { @@ -52,7 +52,7 @@ export default class Spawner extends decorate(Trait) { }, spawnRaw: { cycle: true, - type: 'entity', + type: 'void|entity', label: 'Spawn $1.', args: [ ['json', { @@ -62,7 +62,7 @@ export default class Spawner extends decorate(Trait) { }, spawnRawAt: { cycle: true, - type: 'entity', + type: 'void|entity', label: 'Spawn $1 at $2.', args: [ ['position', {