diff --git a/TShockAPI/Utils.cs b/TShockAPI/Utils.cs
index a9c3ed45..82bd7c51 100644
--- a/TShockAPI/Utils.cs
+++ b/TShockAPI/Utils.cs
@@ -17,6 +17,7 @@ along with this program. If not, see .
*/
using System;
+using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
@@ -1176,27 +1177,33 @@ namespace TShockAPI
public void DumpBuffs(string path)
{
StringBuilder buffer = new StringBuilder();
- buffer.AppendLine("[block: parameters]").AppendLine("{").AppendLine("\t\"data\": {");
- buffer.AppendLine("\t\t\"h-0\":\"ID\",");
- buffer.AppendLine("\t\t\"h-1\":\"Name\",");
- buffer.AppendLine("\t\t\"h-2\":\"Description\",");
+ buffer.AppendLine("[block:parameters]").AppendLine("{").AppendLine(" \"data\": {");
+ buffer.AppendLine(" \"h-0\": \"ID\",");
+ buffer.AppendLine(" \"h-1\": \"Name\",");
+ buffer.AppendLine(" \"h-2\": \"Description\",");
- var row = 0;
- for(int i = 0; i < Main.maxBuffTypes; i++)
+ List