fix spawn doc links and support entities autocomplete

BuildTools 6 years ago
parent 562499c79b
commit 4887fab4bf

File diff suppressed because it is too large Load Diff

@ -8,6 +8,9 @@ module.exports = function(entityType, location){
entityTypeFn = entities[entityType.toLowerCase()];
entityType = entityTypeFn();
if (typeof entityType === 'function'){
entityType = entityType();
var world =;
if (__plugin.bukkit){
world.spawnEntity( location, entityType);

@ -15,8 +15,8 @@ Allows in-game operators to easily spawn creatures at current location.
This command supports TAB completion so to see a list of possible
entitities, type `/jsp spawn ' at the in-game command prompt, then
press TAB. Visit
<> (CanaryMod)
or <> (Bukkit)
<> (Bukkit/SpigotMC)
or <> (CanaryMod)
for a list of possible entities (creatures) which can be spawned.