From 3e29afe992d6d8a7c97d555ab4a3731f4e7c24f5 Mon Sep 17 00:00:00 2001 From: SmallJoker Date: Mon, 16 Jun 2025 19:19:59 +0200 Subject: [PATCH] nitpick --- src/client/game.cpp | 3 +-- src/client/game_formspec.cpp | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/client/game.cpp b/src/client/game.cpp index 1ad670290..ebfc3f1c8 100644 --- a/src/client/game.cpp +++ b/src/client/game.cpp @@ -2719,8 +2719,7 @@ void Game::handleClientEvent_ShowFormSpec(ClientEvent *event, CameraOrientation if (fs.formname->empty() && !fs.formspec->empty()) { m_game_formspec.showPlayerInventory(fs.formspec); } else { - m_game_formspec.showFormSpec(*fs.formspec, - *fs.formname); + m_game_formspec.showFormSpec(*fs.formspec, *fs.formname); } delete fs.formspec; diff --git a/src/client/game_formspec.cpp b/src/client/game_formspec.cpp index e9c3a1659..407b1d9d9 100644 --- a/src/client/game_formspec.cpp +++ b/src/client/game_formspec.cpp @@ -334,7 +334,7 @@ void GameFormSpec::showPlayerInventory(const std::string *fs_override) player->inventory_formspec_override.clear(); } - // If preventedd by Client-Side Mods + // If prevented by Client-Side Mods if (m_client->modsLoaded() && m_client->getScript()->on_inventory_open(m_client->getInventory(inventoryloc))) return;