diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-05-07 17:43:34 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-05-07 17:43:34 +0200 |
commit | 91b15b475ac151b0f56519ce0cd6f824ec0fd0cc (patch) | |
tree | c2d763b7b8a2136f13fec81bf4b4b45743c8f5a8 /src/WorldStorage/WSSAnvil.cpp | |
parent | Fixed wires powering wires diagonally below them (diff) | |
parent | Fix MagmaCube save. (diff) | |
download | cuberite-91b15b475ac151b0f56519ce0cd6f824ec0fd0cc.tar cuberite-91b15b475ac151b0f56519ce0cd6f824ec0fd0cc.tar.gz cuberite-91b15b475ac151b0f56519ce0cd6f824ec0fd0cc.tar.bz2 cuberite-91b15b475ac151b0f56519ce0cd6f824ec0fd0cc.tar.lz cuberite-91b15b475ac151b0f56519ce0cd6f824ec0fd0cc.tar.xz cuberite-91b15b475ac151b0f56519ce0cd6f824ec0fd0cc.tar.zst cuberite-91b15b475ac151b0f56519ce0cd6f824ec0fd0cc.zip |
Diffstat (limited to 'src/WorldStorage/WSSAnvil.cpp')
-rw-r--r-- | src/WorldStorage/WSSAnvil.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/WorldStorage/WSSAnvil.cpp b/src/WorldStorage/WSSAnvil.cpp index f33178173..00dff54f0 100644 --- a/src/WorldStorage/WSSAnvil.cpp +++ b/src/WorldStorage/WSSAnvil.cpp @@ -1974,7 +1974,10 @@ void cWSSAnvil::LoadMagmaCubeFromNBT(cEntityList & a_Entities, const cParsedNBT { int SizeIdx = a_NBT.FindChildByName(a_TagIdx, "Size"); - if (SizeIdx < 0) { return; } + if (SizeIdx < 0) + { + return; + } int Size = a_NBT.GetInt(SizeIdx); @@ -2132,7 +2135,10 @@ void cWSSAnvil::LoadSlimeFromNBT(cEntityList & a_Entities, const cParsedNBT & a_ { int SizeIdx = a_NBT.FindChildByName(a_TagIdx, "Size"); - if (SizeIdx < 0) { return; } + if (SizeIdx < 0) + { + return; + } int Size = a_NBT.GetInt(SizeIdx); |