summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSTRWarrior <niels.breuker@hotmail.nl>2014-01-30 21:49:39 +0100
committerSTRWarrior <niels.breuker@hotmail.nl>2014-01-30 21:49:39 +0100
commit550a09020d4e40904a205ebe7daf1d2421e51070 (patch)
tree6bd446e38584c5676f5415b5c271dec481916413 /src
parentCheck if the tag is found. (diff)
downloadcuberite-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 'src')
-rw-r--r--src/WorldStorage/WSSAnvil.cpp2
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;
}