1
0

Revert "Changed the old invulnerable methods from the wither to the new."

This reverts commit d50f8f6f11.
This commit is contained in:
Howaner
2014-04-28 13:51:22 +02:00
parent d50f8f6f11
commit 26e935cb20
5 changed files with 4 additions and 28 deletions

View File

@@ -516,14 +516,7 @@ void cNBTChunkSerializer::AddMonsterEntity(cMonster * a_Monster)
}
case cMonster::mtWither:
{
if (((const cWither *)a_Monster)->IsSpawnInvulnerable())
{
m_Writer.AddInt("Invul", ((const cWither *)a_Monster)->GetInvulnerableTicks());
}
else
{
m_Writer.AddInt("Invul", 0);
}
m_Writer.AddInt("Invul", ((const cWither *)a_Monster)->GetWitherInvulnerableTicks());
break;
}
case cMonster::mtWolf: