diff options
author | Elias Fleckenstein <eliasfleckenstein@web.de> | 2021-03-02 13:29:13 +0100 |
---|---|---|
committer | Elias Fleckenstein <eliasfleckenstein@web.de> | 2021-03-05 09:45:58 +0100 |
commit | f9d3ab01d35cbad6d9bd0f203c6647fbfe251754 (patch) | |
tree | 31c0dcfca14d1734f400213ba95dfdcc9f26c6d0 /src/itemdef.cpp | |
parent | 28ba013a4a31c7496044a26fcedea3771dd22aa2 (diff) | |
download | minetest-f9d3ab01d35cbad6d9bd0f203c6647fbfe251754.tar.xz |
Code quality in files that were changed
Diffstat (limited to 'src/itemdef.cpp')
-rw-r--r-- | src/itemdef.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/itemdef.cpp b/src/itemdef.cpp index 84ad96c7f..c535ef28c 100644 --- a/src/itemdef.cpp +++ b/src/itemdef.cpp @@ -221,10 +221,9 @@ void ItemDefinition::deSerialize(std::istream &is) // If you add anything here, insert it primarily inside the try-catch // block to not need to increase the version. try { - short_description = deSerializeString16(is); wield_animation = deSerializeString16(is); - } catch (SerializationError &e) { - } + short_description = deSerializeString16(is); + } catch (SerializationError &e) {}; } |