Fix torchflags
UsingBiomeTorches: Whether or not the player has the torchgod biometorches ability enabled HappyFunTorchTime: Whether or not the player has fought the torchgod before (for logic that checks for torchgod spawning) unlockedBiomeTorches: Whether or not the player has the torchgod biome torches ability unlocked
This commit is contained in:
parent
6856c867dd
commit
5581bf5e45
4 changed files with 26 additions and 15 deletions
|
|
@ -2305,8 +2305,9 @@ namespace TShockAPI
|
|||
args.Player.TPlayer.hideVisibleAccessory[i+8] = hideVisual2[i];
|
||||
args.Player.TPlayer.hideMisc = hideMisc;
|
||||
args.Player.TPlayer.extraAccessory = extraSlot;
|
||||
args.Player.TPlayer.unlockedBiomeTorches = unlockedBiomeTorches;
|
||||
args.Player.TPlayer.UsingBiomeTorches = usingBiomeTorches;
|
||||
args.Player.TPlayer.happyFunTorchTime = happyFunTorchTime;
|
||||
args.Player.TPlayer.unlockedBiomeTorches = unlockedBiomeTorches;
|
||||
|
||||
NetMessage.SendData((int)PacketTypes.PlayerInfo, -1, args.Player.Index, NetworkText.FromLiteral(args.Player.Name), args.Player.Index);
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue