mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-03 00:38:21 +00:00
Fix the default return value for equipped_weapon
This commit is contained in:
@@ -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