branchrust_reboot/main/clearinventory_improvementscancel
4 Commits over 0 Days - ∞cph!
Fixed clearinventory NRE, check for null args and check for null backpack item container
Fixed log when clearing main container
Added --main container too
'clearinventory' command can now take container names as arguments:
--belt
--wear
--backpack
Examples:
'inventory.clearinventory Jim --belt --backpack ' = clear Jim's belt and backpack content
'inventory.clearinventory --belt' = clear your own belt content