From 402e918f206d777f1381ff86d62dda4cb7580147 Mon Sep 17 00:00:00 2001 From: Tuff-CWC Date: Mon, 9 Mar 2026 20:04:25 +0100 Subject: [PATCH] fix #2 --- Minecraft.Client/Common/GameRules/ConsoleSchematicFile.cpp | 2 +- Minecraft.Client/Common/UI/UIScene_MainMenu.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Minecraft.Client/Common/GameRules/ConsoleSchematicFile.cpp b/Minecraft.Client/Common/GameRules/ConsoleSchematicFile.cpp index 33b61260c..297e9d1bf 100644 --- a/Minecraft.Client/Common/GameRules/ConsoleSchematicFile.cpp +++ b/Minecraft.Client/Common/GameRules/ConsoleSchematicFile.cpp @@ -635,7 +635,7 @@ void ConsoleSchematicFile::generateSchematicFile(DataOutputStream *dos, Level *l } #ifndef _CONTENT_PACKAGE - if(p!=blockCount) return 0; + if(p!=blockCount) return; #endif // We don't know how this will compress - just make a fixed length buffer to initially decompress into diff --git a/Minecraft.Client/Common/UI/UIScene_MainMenu.cpp b/Minecraft.Client/Common/UI/UIScene_MainMenu.cpp index b4e68bc6d..7a5c568c9 100644 --- a/Minecraft.Client/Common/UI/UIScene_MainMenu.cpp +++ b/Minecraft.Client/Common/UI/UIScene_MainMenu.cpp @@ -390,7 +390,7 @@ void UIScene_MainMenu::handlePress(F64 controlId, F64 childId) break; #endif - default: return 0; + default: return; } bool confirmUser = false;