diff options
author | Lizzy Fleckenstein <eliasfleckenstein@web.de> | 2022-12-10 15:31:22 +0100 |
---|---|---|
committer | Lizzy Fleckenstein <eliasfleckenstein@web.de> | 2023-03-07 18:18:18 +0100 |
commit | 925309eba69a95bcd2a49233125ce32e530fa663 (patch) | |
tree | 5d9cb1b30c4a3f24a681a46fdc731f7b6238b926 /src/client/client.cpp | |
parent | 1f0d042377ed506ad460067495e5911b2fc2aacc (diff) | |
download | minetest-925309eba69a95bcd2a49233125ce32e530fa663.tar.xz |
Dual wielding
Diffstat (limited to 'src/client/client.cpp')
-rw-r--r-- | src/client/client.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/client.cpp b/src/client/client.cpp index 6f2647d50..8760b416d 100644 --- a/src/client/client.cpp +++ b/src/client/client.cpp @@ -1535,6 +1535,8 @@ bool Client::updateWieldedItem() list->setModified(false); if (auto *list = player->inventory.getList("hand")) list->setModified(false); + if (auto *list = player->inventory.getList("offhand")) + list->setModified(false); return true; } |