From bc3d9fd5281bd1aa76e1de5dac1dca97c44673e6 Mon Sep 17 00:00:00 2001 From: Zack Piispanen Date: Sat, 2 Jun 2012 23:34:28 -0400 Subject: [PATCH] Added in more instantiation of the command handler callback in the other constructors. --- TShockAPI/TSPlayer.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/TShockAPI/TSPlayer.cs b/TShockAPI/TSPlayer.cs index 1effe802..3c6e729a 100644 --- a/TShockAPI/TSPlayer.cs +++ b/TShockAPI/TSPlayer.cs @@ -393,6 +393,7 @@ namespace TShockAPI Index = -1; FakePlayer = new Player {name = playerName, whoAmi = -1}; Group = new Group(TShock.Config.DefaultGuestGroupName); + AwaitingResponse = new Dictionary>(); } public virtual void Disconnect(string reason) @@ -718,6 +719,7 @@ namespace TShockAPI public TSRestPlayer() { Group = new SuperAdminGroup(); + AwaitingResponse = new Dictionary>(); } public override void SendMessage(string msg)