From 935c0511632c10fa63f42eb1d64c03285119b5bc Mon Sep 17 00:00:00 2001 From: Deathmax Date: Sat, 9 Jul 2011 10:04:57 +0800 Subject: [PATCH] Notify player that he is being annoyed --- TShockAPI/TSPlayer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TShockAPI/TSPlayer.cs b/TShockAPI/TSPlayer.cs index 9737ac03..06dea058 100644 --- a/TShockAPI/TSPlayer.cs +++ b/TShockAPI/TSPlayer.cs @@ -299,7 +299,7 @@ namespace TShockAPI for (int i = 0; i < Main.maxPlayers; i++) if (Main.player[i] != null & Main.player[i].active && i != Index) player = i; - + SendMessage("You are now being annoyed.", Color.Red); var oriinv = Main.player[0].inventory[player]; while ((DateTime.UtcNow - launch).TotalSeconds < time2) {