fix: treat spawns as void

This commit is contained in:
cha0s 2020-06-25 09:53:49 -05:00
parent 10d3188d67
commit 9e6df804ce

View File

@ -21,7 +21,7 @@ export default class Spawner extends decorate(Trait) {
}, },
spawn: { spawn: {
cycle: true, cycle: true,
type: 'entity', type: 'void|entity',
label: 'Spawn $1 with $2 extensions.', label: 'Spawn $1 with $2 extensions.',
args: [ args: [
['key', { ['key', {
@ -35,7 +35,7 @@ export default class Spawner extends decorate(Trait) {
}, },
spawnAt: { spawnAt: {
cycle: true, cycle: true,
type: 'entity', type: 'void|entity',
label: 'Spawn $1 as $2 with $3 extensions.', label: 'Spawn $1 as $2 with $3 extensions.',
args: [ args: [
['key', { ['key', {
@ -52,7 +52,7 @@ export default class Spawner extends decorate(Trait) {
}, },
spawnRaw: { spawnRaw: {
cycle: true, cycle: true,
type: 'entity', type: 'void|entity',
label: 'Spawn $1.', label: 'Spawn $1.',
args: [ args: [
['json', { ['json', {
@ -62,7 +62,7 @@ export default class Spawner extends decorate(Trait) {
}, },
spawnRawAt: { spawnRawAt: {
cycle: true, cycle: true,
type: 'entity', type: 'void|entity',
label: 'Spawn $1 at $2.', label: 'Spawn $1 at $2.',
args: [ args: [
['position', { ['position', {