For this I would need to modify the whole autosaving process, and run the FindObjectsofType on the main thread first and then do the rest. This will be complicated but i will try to look at it.
Correct code
def On_PlayerGathering(self, Player, GatherEvent):
if Player.Inventory.InternalInventory._activeItem is not None:
toolname = Player.Inventory.InternalInventory._activeItem.datablock.name
Player.Message("Debug: " + toolname) # Delete this after determining the...
You are looking for
Player.Inventory.InternalInventory.activeItem.name
Please be sure to check the active item (if its null) before use:
if Player.Inventory.InternalInventory.activeItem is not None:
name = Player.Inventory.InternalInventory.activeItem.name
The reason why It's hunting...
https://github.com/Notulp/Fougerite/commit/f3172d8a1c47e0f066dd415089fcde7ec26dbf7f
PATCHER MODIFIED, REPATCH OR USE THE PREPATCHED DLLS.
Fougerite.dll modified.
Added an option in Fougerite.cfg 'EnableDefaultRustDecay', please add It. The reason why I added this option because I would like...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.