GearSwap itself needs a push as well. If you're still getting the error on 367 after the latest hook and core went out, update statics.lua in the GearSwap folder.
Go to line 363 (the items table) and add safe_2 to the creation.
Code:
items = {
inventory = make_inventory_table(),
safe = make_inventory_table(),
storage = make_inventory_table(),
temporary = make_inventory_table(),
satchel = make_inventory_table(),
sack = make_inventory_table(),
locker = make_inventory_table(),
case = make_inventory_table(),
wardrobe = make_inventory_table(),
safe_2 = make_inventory_table(),
equipment = {},
}
Then go to line 398 and add safe_2 to there as well:
Code:
if not items.wardrobe then items.wardrobe = make_inventory_table() else
items.wardrobe[0] = make_empty_item_table(0) end
if not items.safe_2 then items.safe_2 = make_inventory_table() else
items.safe_2[0] = make_empty_item_table(0) end
if not items.equipment then
Someone not lazy can throw a pull request at whomever's maintaining the repo.