private void onDayStarted(object _sender, EventArgs _e) { if (Context.IsMainPlayer) { ESOrchard.DayUpdate(); } }
private void cmdResetOrchard(string _command, string[] _args) { try { ESOrchard.Reset(); } catch (Exception e) { Monitor.Log($"reset_es_orchard failed: {e.Message}", LogLevel.Error); #if DEBUG Monitor.Log(e.StackTrace, LogLevel.Trace); #endif } }