Changed kick message for banned item

This commit is contained in:
Twitchy 2011-06-23 19:32:31 +12:00
parent c45696efb2
commit 74371539c0

View file

@ -220,7 +220,7 @@ namespace TShockAPI
{ {
if (ItemManager.ItemIsBanned(Main.player[player.Index].inventory[i].name)) if (ItemManager.ItemIsBanned(Main.player[player.Index].inventory[i].name))
{ {
player.Disconnect("Using banned item: " + Main.player[player.Index].inventory[i].name); player.Disconnect("Using banned item: " + Main.player[player.Index].inventory[i].name + ", remove it and rejoin");
break; break;
} }
} }