mirror of
https://github.com/Mezeporta/Erupe.git
synced 2025-12-12 23:14:36 +01:00
fix warehouseGetEquipment
This commit is contained in:
@@ -477,10 +477,7 @@ func warehouseGetEquipment(s *Session, index uint8) []mhfitem.MHFEquipment {
|
||||
numStacks := box.ReadUint16()
|
||||
box.ReadUint16() // Unused
|
||||
for i := 0; i < int(numStacks); i++ {
|
||||
temp := mhfitem.ReadWarehouseEquipment(box)
|
||||
if !temp.Deleted {
|
||||
equipment = append(equipment, temp)
|
||||
}
|
||||
equipment = append(equipment, mhfitem.ReadWarehouseEquipment(box))
|
||||
}
|
||||
}
|
||||
return equipment
|
||||
|
||||
Reference in New Issue
Block a user