I was trying to mod ISInventoryPage:refreshBackpacks(). I copied this method to a file in my mod. No changes, just copied the code. So I'm overwriting the vanilla code with the same vanilla code, but in a different file. The game throws this weird error inside the copied code (so the overwrite does get applied to the ISInventoryPage object) on table.wipe(self.backpacks):
self.backpacks logs as a table, not nil, so it appears to be fine. The error is thrown when refreshBackpacks() is invoked from ISInventoryPage:createChildren() while processing loot backpacks. self.backpacks is at this moment an empty table.
Why can overwriting of vanilla code with the same code cause such error?
Question
Eggon
I was trying to mod ISInventoryPage:refreshBackpacks(). I copied this method to a file in my mod. No changes, just copied the code. So I'm overwriting the vanilla code with the same vanilla code, but in a different file. The game throws this weird error inside the copied code (so the overwrite does get applied to the ISInventoryPage object) on table.wipe(self.backpacks):
self.backpacks logs as a table, not nil, so it appears to be fine. The error is thrown when refreshBackpacks() is invoked from ISInventoryPage:createChildren() while processing loot backpacks. self.backpacks is at this moment an empty table.
Why can overwriting of vanilla code with the same code cause such error?
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.