diff --git a/CHANGELOG.md b/CHANGELOG.md index b5e80c67..6d108c9d 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) * Added the `/dump-reference-data` command, which when run, runs Utils.Dump() and outputs Terraria reference data to the server folder. (@hakusaro) ## TShock 4.3.24 diff --git a/TShockAPI/Utils.cs b/TShockAPI/Utils.cs index 73ea56af..e99aadd6 100644 --- a/TShockAPI/Utils.cs +++ b/TShockAPI/Utils.cs @@ -1205,7 +1205,7 @@ namespace TShockAPI ServerSideCharacters.ServerSideConfig.DumpDescriptions(); RestManager.DumpDescriptions(); 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);