mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-12-06 03:07:19 +00:00
Fix the default return value for equipped_weapon
This commit is contained in:
1 parent
e5a2533a30
commit
064f22d2e0
1 file changed
+1
-1
@@ -58,7 +58,7 @@ class EquipmentUtil
|
||||
item = source.equipment.get(EquipmentConstants::WEAPON)
|
||||
|
||||
if item.nil?
|
||||
return NAMED_WEAPONS[:no_weapon]
|
||||
return NAMED_WEAPONS[:unarmed]
|
||||
end
|
||||
|
||||
WEAPONS[item.id]
|
||||
|
||||
Reference in new issue
Block a user