Use correct value to read usingBiomeTorches in GDH
This fixes a ridiculous typo in GetDataHandlers where we were setting the UsingBiomeTorches flag based on having unlocked biome torches, rather than actually being used. Thanks to @Arthri for the tip!
This commit is contained in:
parent
7dde56e6da
commit
6856c867dd
2 changed files with 2 additions and 1 deletions
|
|
@ -2306,7 +2306,7 @@ namespace TShockAPI
|
|||
args.Player.TPlayer.hideMisc = hideMisc;
|
||||
args.Player.TPlayer.extraAccessory = extraSlot;
|
||||
args.Player.TPlayer.unlockedBiomeTorches = unlockedBiomeTorches;
|
||||
args.Player.TPlayer.UsingBiomeTorches = unlockedBiomeTorches;
|
||||
args.Player.TPlayer.UsingBiomeTorches = usingBiomeTorches;
|
||||
|
||||
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