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

This commit is contained in:
Major- committed 2014-08-09 06:45:53 +01:00
1 parent e08a737933
commit 587901c630
8 files changed
+157 -28

No files matched your search

+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)