Changed kick message for banned item
This commit is contained in:
parent
c45696efb2
commit
74371539c0
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue