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