diff options
author | STRWarrior <niels.breuker@hotmail.nl> | 2014-01-30 21:49:39 +0100 |
---|---|---|
committer | STRWarrior <niels.breuker@hotmail.nl> | 2014-01-30 21:49:39 +0100 |
commit | 550a09020d4e40904a205ebe7daf1d2421e51070 (patch) | |
tree | 6bd446e38584c5676f5415b5c271dec481916413 /src | |
parent | Check if the tag is found. (diff) | |
download | cuberite-550a09020d4e40904a205ebe7daf1d2421e51070.tar cuberite-550a09020d4e40904a205ebe7daf1d2421e51070.tar.gz cuberite-550a09020d4e40904a205ebe7daf1d2421e51070.tar.bz2 cuberite-550a09020d4e40904a205ebe7daf1d2421e51070.tar.lz cuberite-550a09020d4e40904a205ebe7daf1d2421e51070.tar.xz cuberite-550a09020d4e40904a205ebe7daf1d2421e51070.tar.zst cuberite-550a09020d4e40904a205ebe7daf1d2421e51070.zip |
Diffstat (limited to '')
-rw-r--r-- | src/WorldStorage/WSSAnvil.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/WorldStorage/WSSAnvil.cpp b/src/WorldStorage/WSSAnvil.cpp index 1827eff58..e581c433e 100644 --- a/src/WorldStorage/WSSAnvil.cpp +++ b/src/WorldStorage/WSSAnvil.cpp @@ -1877,7 +1877,7 @@ void cWSSAnvil::LoadWolfFromNBT(cEntityList & a_Entities, const cParsedNBT & a_N return; } int OwnerIdx = a_NBT.FindChildByName(a_TagIdx, "Owner"); - if (TypeIdx < 0) + if (OwnerIdx < 0) { return; } |