private void onDayStarted(object _sender, EventArgs _e) { if (Context.IsMainPlayer) { CrabPotCatches.DayUpdate(); FruitTrees.DayUpdate(); Obelisks.RestoreAll(); RainWatering.DayUpdate(); } }
private void cmdResetFruitTrees(string _command, string[] _args) { try { FruitTrees.Reset(); } catch (Exception e) { Monitor.Log($"es_reset_fruit_trees failed: {e.Message}", LogLevel.Error); } }