Conform to ruby conventions.

This commit is contained in:
Major-
2014-01-26 22:12:50 +00:00
parent d3ab7919bb
commit 6d1af1b3f2
+1 -1
View File
@@ -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