-
Notifications
You must be signed in to change notification settings - Fork 11
Description
Game Version: 1.21.5
Smithing Plus Mod version: 1.8.3
Game crashes when a player tries to change hammer tool mode in multiplayer.
Crash log:
Running on 64 bit Windows 10.0.19045.0 with 16325 MB RAM
Game Version: v1.21.5 (Stable)
2025-11-20 23:38:03: Critical error occurred in the following mod: smithingplus@1.8.3
Loaded Mods: autotoolbar@0.1.2, boatiespeedie12@1.0.4, catchledge@0.6.0, cavesymphony@1.2.1, claycasting@1.3.4, fsfireclayfromquartz@1.1.4, overhaullib@1.13.13, translocatorengineeringredux@1.6.2, vintageengineering@0.4.6, game@1.21.5, vsimgui@1.1.16, wildfarmingrevival@1.4.2, aculinaryartillery@2.0.0-dev.8, alchemy@1.7.21, betterruins@0.5.3, bloodtrail@1.1.8, commonlib@2.8.0, configlib@1.10.11, farseer@1.3.2, foodshelves@2.3.3, footprints@1.0.7, hpspinningwheel@1.0.7, maltiezcrossbows@1.6.8, maltiezfirearms@1.5.2, metalpots@1.6.1, mountDestroyLeaves@1.1.3, purposefulstorage@1.5.1, smithingplus@1.8.3, stonebakeoven@1.2.0, temperatureheighttweak@0.3.0, terraprety@7.0.9, toolsmith@1.2.14, creative@1.21.5, survival@1.21.5, expandedfoods@2.0.0-dev.4, playercorpse@1.12.0, stonequarry@3.5.1
Involved Harmony IDs: smithingplus
System.NullReferenceException: Object reference not set to an instance of an object.
at SmithingPlus.HammerTweaks.HammerTweaksNetwork.SendFlipToolMode(ICoreClientAPI capi, Int32 flipToolModeIndex) in /_/SmithingPlus/HammerTweaks/HammerTweaksNetwork.cs:line 64
at SmithingPlus.HammerTweaks.ItemHammerPatch.Postfix_GetToolModes(ItemHammer __instance, ItemSlot slot, IClientPlayer forPlayer, BlockSelection blockSel, SkillItem[]& __result, SkillItem[]& __toolModes) in //SmithingPlus/HammerTweaks/ItemHammerPatch.cs:line 39
at Vintagestory.GameContent.ItemHammer.GetToolModes_Patch1(ItemHammer this, ItemSlot slot, IClientPlayer forPlayer, BlockSelection blockSel)
at Vintagestory.Client.NoObf.HudHotbar.UpdateCurrentToolMode(Int32 newSlotIndex) in VintagestoryLib\Client\Systems\Gui\Huds\HudHotbar.cs:line 146
at Vintagestory.Client.NoObf.HudHotbar.OnCheckToolMode(Single dt) in VintagestoryLib\Client\Systems\Gui\Huds\HudHotbar.cs:line 138
at Vintagestory.Common.GameTickListener.OnTriggered(Int64 ellapsedMilliseconds) in VintagestoryLib\Common\Model\GameTickListener.cs:line 25
at Vintagestory.Common.EventManager.TriggerGameTick(Int64 ellapsedMilliseconds, IWorldAccessor world) in VintagestoryLib\Common\EventManager.cs:line 102
at Vintagestory.Client.NoObf.ClientMain.MainRenderLoop(Single dt) in VintagestoryLib\Client\ClientMain.cs:line 859
at Vintagestory.Client.NoObf.ClientMain.MainGameLoop(Single deltaTime) in VintagestoryLib\Client\ClientMain.cs:line 751
at Vintagestory.Client.GuiScreenRunningGame.RenderToPrimary(Single dt) in VintagestoryLib\Client\MainMenu\Screens\GuiScreenRunningGame.cs:line 172
at Vintagestory.Client.ScreenManager.Render(Single dt) in VintagestoryLib\Client\ScreenManager.cs:line 719
at Vintagestory.Client.ScreenManager.OnNewFrame(Single dt) in VintagestoryLib\Client\ScreenManager.cs:line 663
at Vintagestory.Client.NoObf.ClientPlatformWindows.window_RenderFrame(FrameEventArgs e) in VintagestoryLib\Client\ClientPlatform\GameWindow.cs:line 112
at OpenTK.Windowing.Desktop.GameWindow.Run()
at Vintagestory.Client.ClientProgram.Start(ClientProgramArgs args, String[] rawArgs) in VintagestoryLib\Client\ClientProgram.cs:line 338
at Vintagestory.Client.ClientProgram.<>c__DisplayClass10_0.<.ctor>b__1() in VintagestoryLib\Client\ClientProgram.cs:line 133
at Vintagestory.ClientNative.CrashReporter.Start(ThreadStart start) in VintagestoryLib\Client\ClientPlatform\ClientNative\CrashReporter.cs:line 95