diff --git a/src/main/js/plugins/spawn.js b/src/main/js/plugins/spawn.js index 30803c3..1cfd566 100644 --- a/src/main/js/plugins/spawn.js +++ b/src/main/js/plugins/spawn.js @@ -37,5 +37,5 @@ command( 'spawn', function( parameters, sender ) { } var world = location.world; var type = ('' + parameters[0]).toUpperCase(); - world.spawnEntity( location, EntityType[type] ); + world.spawnEntity( location, bkEntityType[type] ); }, entities );