mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-03 00:38:21 +00:00
Fix incorrect number of parameters bug when creating a bone.
This commit is contained in:
@@ -59,7 +59,7 @@ def append_bone(hash)
|
||||
raise 'Hash must contain an id and an experience value.' unless hash.has_key?(:id) && hash.has_key?(:experience)
|
||||
id = hash[:id], experience = hash[:experience]
|
||||
|
||||
BONES[id] = Bone.new(name, id, experience)
|
||||
BONES[id] = Bone.new(id, experience)
|
||||
end
|
||||
|
||||
append_bone :name => :regular_bones, :id => 526, :experience => 5
|
||||
|
||||
Reference in New Issue
Block a user