mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-03 16:49:11 +00:00
Add the new utils plugin, change entity spawning and the lookup command plugins to use it.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user