From 747874634c91629b5866bddddec3144b5560f0cc Mon Sep 17 00:00:00 2001 From: Asriel Camora Date: Wed, 19 Jun 2024 18:52:55 -0700 Subject: [PATCH] Fix minor error in log --- Craftimizer/Windows/RecipeNote.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Craftimizer/Windows/RecipeNote.cs b/Craftimizer/Windows/RecipeNote.cs index 632e524..446914c 100644 --- a/Craftimizer/Windows/RecipeNote.cs +++ b/Craftimizer/Windows/RecipeNote.cs @@ -850,7 +850,8 @@ public sealed unsafe class RecipeNote : Window, IDisposable ImGuiUtils.TextMiddleNewLine("You have no macros!", new(ImGui.GetContentRegionAvail().X - stepsAvailWidthOffset, windowHeight + 1)); break; case MacroTaskType.Suggested: - throw new ArgumentNullException(nameof(state), "Actions or State should not be null"); + // Cancelled? + break; case MacroTaskType.Community: ImGuiUtils.TextMiddleNewLine("No macros found!", new(ImGui.GetContentRegionAvail().X - stepsAvailWidthOffset, windowHeight + 1)); break;