mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-05 00:38:14 +00:00
Conform to ruby conventions.
This commit is contained in:
@@ -14,7 +14,7 @@ on :command, :lookup, RIGHTS_ADMIN do |player, command|
|
||||
type = args.shift.downcase
|
||||
name = args.join(" ").downcase
|
||||
|
||||
if ["npc", "object", "item"].index(type) == nil
|
||||
if ['npc', 'object', 'item'].index(type) == nil
|
||||
player.send_message("Invalid syntax - ::lookup [npc/object/item] [name]")
|
||||
return
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user