1
0

Inversed condition.

This commit is contained in:
STRWarrior 2014-01-31 16:31:55 +01:00
parent c7e4ade7c3
commit 19e5122b77

View File

@ -1877,7 +1877,7 @@ void cWSSAnvil::LoadWolfFromNBT(cEntityList & a_Entities, const cParsedNBT & a_N
return;
}
int OwnerIdx = a_NBT.FindChildByName(a_TagIdx, "Owner");
if (OwnerIdx < 0)
if (OwnerIdx > 0)
{
AString OwnerName = a_NBT.GetString(OwnerIdx);
if (OwnerName != "")