I just found out it's because it was using the wrong window id, thank you for being there when i needed you, appreciate it brother.
mc.thePlayer.openContainer.windowId is correct one
not
mc.thePlayer.inventoryContainer.windowId
I just found out it's because it was using the wrong window id, thank you for being there when i needed you, appreciate it brother.
mc.thePlayer.openContainer.windowId is correct one
not
mc.thePlayer.inventoryContainer.windowId