public override void Entry(IModHelper helper) { _instance = this; config = helper.ReadConfig <Config>(); helper.Events.GameLoop.GameLaunched += OnGameLaunched; }
public override void Entry(IModHelper helper) { _instance = this; config = helper.ReadConfig <Config>(); helper.Events.GameLoop.GameLaunched += OnGameLaunched; helper.Events.Player.InventoryChanged += Player_InventoryChanged; helper.Events.GameLoop.SaveLoaded += GameLoop_SaveLoaded; }