Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix/update RPG Style Inventory (#456)
- Changed ITab sync worker (`SyncITab`) to no longer send any data - Since we only ever expect 1 ITab type, its type is cached and used to construct the type, rather than syncing the type and retrieving the ITab after syncing - It's handled (almost) the same way as MP handles basically any vanilla ITab - Only sync methods `InterfaceDrop` and `InterfaceIngest` if they exist and are declared in the type itself - This change is mostly relevant for RPG Style Inventory Revamped, which removed `InterfaceIngest` method (matching planned vanilla pawn gear ITab changes) - So far the vanilla method was marked as obsolete, and will be removed in a future version - This change will prevent us from syncing vanilla ITab methods, one of which is already synced by MP - This will prevent HugsLib warnings about MP patching obsolete methods (`InterfaceIngest`) - Change lambda ordinals for popup menu patches (RPG Style Inventory Revamped) - This fixes remove/add forced apparel - This also fixes force dropping items from the popup menu, which didn't work properly as the method which wasn't supposed to be synced ended up being synced
- Loading branch information