public static void ModdedExtensionsReset(Player player)
        {
            var wingmod = ModLoader.GetMod("Wing Slot");

            if (wingmod != null)
            {
                PlayerHelpers._WingModReset(wingmod, player);
            }
        }
예제 #2
0
        ////

        public static void KillWithPermadeath(Player player, string deathMsg)
        {
            if (Main.netMode != 0)
            {
                PlayerPermaDeathProtocol.SendToAll(player.whoAmI, deathMsg);
            }
            else
            {
                PlayerHelpers.ApplyPermaDeath(player, deathMsg);
            }
        }