public static void KillMeForGoodHook(On.Terraria.Player.orig_KillMeForGood orig, Player self) { if (!Subworld.IsActive <DreamBattleWorld>()) { orig.Invoke(self); } }
public static void KillMeForGoodHook(On.Terraria.Player.orig_KillMeForGood orig, Player self) { if (BelongsToDummy(self)) { self.ghost = false; self.dead = false; return; } orig.Invoke(self); }