Fixed IndexOutOfRange exception

This commit is contained in:
Zaicon Kiroshu 2017-12-09 18:48:40 -06:00
parent d937789c15
commit 4638b85adc

View file

@ -1206,7 +1206,7 @@ namespace TShockAPI
RestManager.DumpDescriptions();
DumpPermissionMatrix("PermissionMatrix.txt");
DumpBuffs("BuffList.txt");
DumpItems("Items-1_0.txt", -48, 235);
DumpItems("Items-1_0.txt", 1, 235);
DumpItems("Items-1_1.txt", 235, 604);
DumpItems("Items-1_2.txt", 604, 2749);
DumpItems("Items-1_3.txt", 2749, Main.maxItemTypes);