Remove magic number + Use suggestions by particles
Added a new ClientState enum based on code in Terraria.MessageBuffer.GetData & Terraria.Netplay.InnerClientLoop
This commit is contained in:
parent
ff9cb9f858
commit
ce04d9d173
5 changed files with 66 additions and 18 deletions
|
|
@ -2530,7 +2530,7 @@ namespace TShockAPI
|
|||
{
|
||||
foreach (TSPlayer ply in TShock.Players.Where(p => p != null && p.Active && p.TPlayer.name.ToLower().Equals(args.Parameters[0].ToLower())))
|
||||
{
|
||||
//this will always tell the client that they have not done the quest today. * Update: We have a definition for Packet 74, why are you sending it as a cast to PacketTypes?
|
||||
//this will always tell the client that they have not done the quest today.
|
||||
ply.SendData(PacketTypes.AnglerQuest, "");
|
||||
}
|
||||
args.Player.SendSuccessMessage(GetString("Removed {0} players from the angler quest completion list for today.", result));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue