Inversed condition.
This commit is contained in:
parent
c7e4ade7c3
commit
19e5122b77
@ -1877,7 +1877,7 @@ void cWSSAnvil::LoadWolfFromNBT(cEntityList & a_Entities, const cParsedNBT & a_N
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
int OwnerIdx = a_NBT.FindChildByName(a_TagIdx, "Owner");
|
int OwnerIdx = a_NBT.FindChildByName(a_TagIdx, "Owner");
|
||||||
if (OwnerIdx < 0)
|
if (OwnerIdx > 0)
|
||||||
{
|
{
|
||||||
AString OwnerName = a_NBT.GetString(OwnerIdx);
|
AString OwnerName = a_NBT.GetString(OwnerIdx);
|
||||||
if (OwnerName != "")
|
if (OwnerName != "")
|
||||||
|
Loading…
Reference in New Issue
Block a user