mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-12-06 11:17:19 +00:00
Add the new utils plugin, change entity spawning and the lookup command plugins to use it.
This commit is contained in:
1 parent
e08a737933
commit
587901c630
8 files changed
+157
-28
No files matched your search
@@ -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