Add the new utils plugin, change entity spawning and the lookup command plugins to use it.

This commit is contained in:
Major-
2014-08-09 06:45:53 +01:00
parent e08a737933
commit 587901c630
8 changed files with 157 additions and 28 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ on :command, :lookup, RIGHTS_ADMIN do |player, command|
next
end
ids = locate_entity(type, name, limit).join(', ')
ids = find_entities(type, name, limit).join(', ')
message = ids.empty? ? "Could not find an #{type} called #{name}." : "Possible ids are: #{ids}."
player.send_message(message)