mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-04 08:39:27 +00:00
Add more documentation and fix rubocop warnings
This commit is contained in:
@@ -11,7 +11,7 @@ def create_ammo(item_matcher, properties, &block)
|
||||
|
||||
items.each do |item_id|
|
||||
AMMO[item_id] = Ammo.new(item_id, properties)
|
||||
AMMO[item_id].instance_eval &block if block_given?
|
||||
AMMO[item_id].instance_eval(&block) if block_given?
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user