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:
Lucas Nicodemus 2021-05-23 03:21:56 -07:00
parent 7dde56e6da
commit 6856c867dd
2 changed files with 2 additions and 1 deletions

View file

@ -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;