NotLe0n/BetterChests

Error on mod load

Opened this issue · 0 comments

Running on latest stable version of tmodloader.
The error:

[22:13:01.384] [.NET ThreadPool Worker/ERROR] [tML]: An error occurred while loading BetterChests v1.7.1.1
The mod(s) have been automatically disabled.
Newtonsoft.Json.JsonException: Exception of type 'Newtonsoft.Json.JsonException' was thrown.
   at BetterChests.SortOption.SortOptionToStringConverter.ReadJson(JsonReader reader, Type objectType, SortOption existingValue, Boolean hasExistingValue, JsonSerializer serializer) in BetterChests/src/SortOption.cs:line 52
   at Newtonsoft.Json.JsonConverter`1.ReadJson(JsonReader reader, Type objectType, Object existingValue, JsonSerializer serializer)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.DeserializeConvertable(JsonConverter converter, JsonReader reader, Type objectType, Object existingValue)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Populate(JsonReader reader, Object target)
   at Newtonsoft.Json.JsonSerializer.PopulateInternal(JsonReader reader, Object target)
   at Newtonsoft.Json.JsonConvert.PopulateObject(String value, Object target, JsonSerializerSettings settings)
   at Terraria.ModLoader.Config.ConfigManager.Load(ModConfig config) in tModLoader\Terraria\ModLoader\Config\ConfigManager.cs:line 208
   at Terraria.ModLoader.Config.ConfigManager.Add(ModConfig config) in tModLoader\Terraria\ModLoader\Config\ConfigManager.cs:line 70
   at Terraria.ModLoader.Mod.AddConfig(String name, ModConfig mc) in tModLoader\Terraria\ModLoader\Mod.cs:line 123
   at Terraria.ModLoader.Mod.AutoloadConfig() in tModLoader\Terraria\ModLoader\Mod.cs:line 113
   at Terraria.ModLoader.ModContent.<>c.<Load>b__42_0(Mod mod) in tModLoader\Terraria\ModLoader\ModContent.cs:line 281
   at Terraria.ModLoader.ModContent.LoadModContent(CancellationToken token, Action`1 loadAction) in tModLoader\Terraria\ModLoader\ModContent.cs:line 368
   at Terraria.ModLoader.ModContent.Load(CancellationToken token) in tModLoader\Terraria\ModLoader\ModContent.cs:line 277
   at Terraria.ModLoader.ModLoader.Load(CancellationToken token) in tModLoader\Terraria\ModLoader\ModLoader.cs:line 127
[22:13:01.386] [.NET ThreadPool Worker/INFO] [tML]: Disabling Mod: BetterChests

Full log: client.log