/*********
 ** Private methods
 *********/
 /// <summary>The method to call before <see cref="NPC.tryToReceiveActiveObject"/>.</summary>
 private static bool Before_TryToReceiveActiveObject(NPC __instance, Farmer who)
 {
     return(!SpaceEvents.InvokeBeforeReceiveObject(__instance, who.ActiveObject, who));
 }
Beispiel #2
0
 public static bool Prefix(NPC __instance, Farmer who)
 {
     return(!SpaceEvents.InvokeBeforeReceiveObject(__instance, who.ActiveObject, who));
 }