-
Notifications
You must be signed in to change notification settings - Fork 468
Open
Labels
cross_modOC not working with another modOC not working with another mod
Milestone
Description
Illustrations here:
GTNewHorizons/GT-New-Horizons-Modpack#5657
The reason is that ic2 crop seed onItemUse tries to set
entityplayer.inventory.mainInventory[entityplayer.inventory.currentItem] = null;
but for the robot entityplayer.inventory.currentItem is not set (probably due to tool belt/main inventory distinction)
I understand that direct access to the player inventory is not a good idea on ic2 side but it is somehow unlikely that they will fix it, so, do you have any idea how to circumvent it on OC side? Because all I can think of is another hack in li.cil.oc.server.agent.Player.activateBlockOrUseItem
Metadata
Metadata
Assignees
Labels
cross_modOC not working with another modOC not working with another mod