From b8d610987fe5479a63147e1c66ab6bbdf80b8ecc Mon Sep 17 00:00:00 2001 From: wincent Date: Fri, 24 May 2024 15:10:38 +0200 Subject: [PATCH] Correct try-parse --- dGame/dUtilities/SlashCommands/GMZeroCommands.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dGame/dUtilities/SlashCommands/GMZeroCommands.cpp b/dGame/dUtilities/SlashCommands/GMZeroCommands.cpp index 3b943b8c..d071776f 100644 --- a/dGame/dUtilities/SlashCommands/GMZeroCommands.cpp +++ b/dGame/dUtilities/SlashCommands/GMZeroCommands.cpp @@ -236,7 +236,7 @@ namespace GMZeroCommands { return; } - auto itemId = GeneralUtils::TryParse(splitArgs[1]); + auto itemId = GeneralUtils::TryParse(splitArgs[1]); if (!itemId.has_value()) { ChatPackets::SendSystemMessage(sysAddr, u"Invalid item ID.");