Update StarPlayerInventory.cpp

This commit is contained in:
Kae 2024-07-27 10:43:58 +10:00
parent c3de15c18d
commit b1315d1784

View File

@ -1015,6 +1015,8 @@ ItemPtr& PlayerInventory::retrieve(InventorySlot const& slot) {
return guardEmpty(m_swapSlot);
else
return guardEmpty(m_trashSlot);
throw ItemException::format("Invalid inventory slot {}", jsonFromInventorySlot(slot));
}
void PlayerInventory::swapCustomBarLinks(InventorySlot a, InventorySlot b) {