Beispiel #1
0
 public override void OnParentChanging(BaseEntity oldParent, BaseEntity newParent)
 {
     base.OnParentChanging(oldParent, newParent);
     planter = newParent as PlanterBox;
     if (!Rust.Application.isLoadingSave && planter != null)
     {
         planter.FertilizeGrowables();
     }
     CalculateQualities(true);
 }