tModLoader

tModLoader

United Collection (Whips and more!)
JJ's Place 2 Sep, 2024 @ 1:08pm
Small error with Census mod
Found this small exception in the logs:
Logs:
[14:58:22.516] [.NET TP Worker/INFO] [tML]: Finalizing Content: SummonWhips (United Collection (Whips and more!)) v3.0.7
[14:58:22.517] [.NET TP Worker/WARN] [tML]: Silently Caught Exception:
System.Exception: Call Error: The 2nd parameter of TownNPCCondition is now LocalizedText and is optional. Also, localization is now automatic, keys will appear in your hjson files. This TownNPCCondition Mod.Call is only needed if using LocalizedText.WithFormatArgs
at Census.CensusSystem.Call(Object[] args)
at SummonWhips.SummonWhips.PostSetupContent()
at Terraria.ModLoader.ModContent.<>c.<Load>b__44_2(Mod mod)
at Terraria.ModLoader.ModContent.LoadModContent(CancellationToken token, Action`1 loadAction)
at Terraria.ModLoader.ModContent.Load(CancellationToken token)
at Terraria.ModLoader.ModLoader.Load(CancellationToken token)
at Terraria.ModLoader.ModLoader.<>c__DisplayClass46_0.<BeginLoad>b__0()
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()

[14:58:22.518] [.NET TP Worker/ERROR] [Census]: Census Call Error: at Census.CensusSystem.Call(Object[] args) in CensusSystem.cs:line 520Call Error: The 2nd parameter of TownNPCCondition is now LocalizedText and is optional. Also, localization is now automatic, keys will appear in your hjson files. This TownNPCCondition Mod.Call is only needed if using LocalizedText.WithFormatArgs
[14:58:22.518] [.NET TP Worker/ERROR] [Census]: Census Call Error: at Census.CensusSystem.Call(Object[] args) in CensusSystem.cs:line 520Call Error: The 2nd parameter of TownNPCCondition is now LocalizedText and is optional. Also, localization is now automatic, keys will appear in your hjson files. This TownNPCCondition Mod.Call is only needed if using LocalizedText.WithFormatArgs