Hi...thx for taking the time to fix this
But there are still problems
There is a conflict with "Shortcuts" mod i think
Update: Seems it's only the Shortcuts mod causing problems! sorry for the post!!!
Error MainLoop.cpp:1173: Exception at tick 2538: The mod Shortcuts caused a non-recoverable error.
Please report this error to the mod author.
Error while running event Shortcuts::on_player_armor_inventory_changed (ID 35)
real number expected got nil.
stack traceback:
Shortcuts/control.lua:13: in function 'update_armor'
Shortcuts/control.lua:157: in function 'reset_state'
Shortcuts/control.lua:365: in function <Shortcuts/control.lua:363>
stack traceback:
[C]: in function 'get_inventory'
Shortcuts/control.lua:13: in function 'update_armor'
Shortcuts/control.lua:157: in function 'reset_state'
Shortcuts/control.lua:365: in function <Shortcuts/control.lua:363