Esempio n. 1
0
 private static void OnLeaveLocationPostfix(Ring __instance, Farmer who, GameLocation environment)
 {
     if (RingManager.IsCosmeticRing(__instance.Name))
     {
         RingManager.HandleLeaveLocation(who, environment, __instance);
     }
 }
Esempio n. 2
0
 private static void OnUnequipPostfix(Ring __instance, Farmer who, GameLocation location)
 {
     if (RingManager.IsCosmeticRing(__instance.Name))
     {
         RingManager.HandleUnequip(who, location, __instance);
     }
 }