OSHA Hot Swap


Allows you to quickly swap between items in your cursor that share similar item types. Fully configurable.

Utilities
7 days ago
0.17 - 2.0
506

b Remote View crash

7 days ago

Steps to reproduce:
1) Go to remote view/map
2) Open inventory
3) Pick any building

Results in a crash with the following error:
The mod OSHA Hot Swap (2.0.0) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event osha_hot_swap::on_player_cursor_stack_changed (ID 32)
osha_hot_swap/scripts/functions.lua:167: attempt to index local 'inventory' (a nil value)
stack traceback:
osha_hot_swap/scripts/functions.lua:167: in function 'HS_PlayerHasItem'
osha_hot_swap/scripts/functions.lua:50: in function 'HS_CheckForPreviousItem'
osha_hot_swap/control.lua:134: in function <osha_hot_swap/control.lua:132>

Not causing major issues for me currently, but I hope you can fix this. I absolutely love this mod, and have gotten so used to it that it was painful having to play 2.0 without it until today xD

7 days ago

Additional info - seems this actually happens when you try to put ANY ghost in your cursor while in remote view. Confirmed with selecting an item from the hotbar and picking a building with the pipette tool.

7 days ago

ok thank you for the report

7 days ago

New version uploaded

3 days ago

Awesome, thanks for the quick fix! :D

New response