public override void OnGuiOpened() { inventory.Open(capi.World.Player); inventory.SlotModified += OnInventorySlotModified; }