From 4638b85adc53eff55f4b0d4b6fec19172f54b225 Mon Sep 17 00:00:00 2001 From: Zaicon Kiroshu Date: Sat, 9 Dec 2017 18:48:40 -0600 Subject: [PATCH 1/2] Fixed IndexOutOfRange exception --- TShockAPI/Utils.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TShockAPI/Utils.cs b/TShockAPI/Utils.cs index 050515a6..286d50c1 100644 --- a/TShockAPI/Utils.cs +++ b/TShockAPI/Utils.cs @@ -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); From 82f53addd75fb1c06bd29f0cbaa89e226fe37753 Mon Sep 17 00:00:00 2001 From: Zaicon Date: Sat, 9 Dec 2017 20:12:12 -0600 Subject: [PATCH 2/2] Update CHANGELOG.md --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 71d26eb7..0c877cf3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -23,6 +23,7 @@ This is the rolling changelog for TShock for Terraria. Use past tense when addin * Added the ability to ban by account name instead of just banning a character name assuming its an account name. (@hakusaro) * Renamed TShock.DB.User to TShock.DB.UserAccount, including all the related methods, classes and events. (@Ryozuki) * Update OTAPI to 2.0.0.31, which also updates Newtonsoft.Json to 10.0.3 (@Ryozuki) +* Fixed DumpItems() from trying to dump older versions of certain items (negative item IDs). (@Zaicon) ## TShock 4.3.24 * Updated OpenTerraria API to 1.3.5.3 (@DeathCradle)