Remove Twitchy's item.txt generation
This commit is contained in:
parent
629eb01191
commit
031721c169
1 changed files with 0 additions and 9 deletions
|
|
@ -520,15 +520,6 @@ namespace TShockAPI
|
|||
if (text.StartsWith("exit"))
|
||||
{
|
||||
Tools.ForceKickAll("Server shutting down!");
|
||||
var sb = new StringBuilder();
|
||||
for (int i = 0; i < Main.maxItemTypes; i++)
|
||||
{
|
||||
string itemName = Main.itemName[i];
|
||||
string itemID = (i).ToString();
|
||||
sb.Append("ItemList.Add(\"" + itemName + "\");").AppendLine();
|
||||
}
|
||||
|
||||
File.WriteAllText("item.txt", sb.ToString());
|
||||
}
|
||||
else if (text.StartsWith("playing") || text.StartsWith("/playing"))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue