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...
Completely updated GeoIP, added Sqlite DB to It which is on your own local server and uses it to find data. The sqlite DB is big, but it worths the speed.
https://github.com/dretax/GeoIP-Fougerite/commit/074ded04560cc6644a7ce37e8f3e5ebe9cc1bbbc
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.