Fixed #573
This commit is contained in:
parent
b0018da615
commit
8470841f84
@ -1083,6 +1083,10 @@ void cWSSAnvil::LoadEntityFromNBT(cEntityList & a_Entities, const cParsedNBT & a
|
|||||||
{
|
{
|
||||||
LoadHorseFromNBT(a_Entities, a_NBT, a_EntityTagIdx);
|
LoadHorseFromNBT(a_Entities, a_NBT, a_EntityTagIdx);
|
||||||
}
|
}
|
||||||
|
else if (strncmp(a_IDTag, "Villager", a_IDTagLength) == 0)
|
||||||
|
{
|
||||||
|
LoadVillagerFromNBT(a_Entities, a_NBT, a_EntityTagIdx);
|
||||||
|
}
|
||||||
else if (strncmp(a_IDTag, "VillagerGolem", a_IDTagLength) == 0)
|
else if (strncmp(a_IDTag, "VillagerGolem", a_IDTagLength) == 0)
|
||||||
{
|
{
|
||||||
LoadIronGolemFromNBT(a_Entities, a_NBT, a_EntityTagIdx);
|
LoadIronGolemFromNBT(a_Entities, a_NBT, a_EntityTagIdx);
|
||||||
@ -1131,10 +1135,6 @@ void cWSSAnvil::LoadEntityFromNBT(cEntityList & a_Entities, const cParsedNBT & a
|
|||||||
{
|
{
|
||||||
LoadSquidFromNBT(a_Entities, a_NBT, a_EntityTagIdx);
|
LoadSquidFromNBT(a_Entities, a_NBT, a_EntityTagIdx);
|
||||||
}
|
}
|
||||||
else if (strncmp(a_IDTag, "Villager", a_IDTagLength) == 0)
|
|
||||||
{
|
|
||||||
LoadVillagerFromNBT(a_Entities, a_NBT, a_EntityTagIdx);
|
|
||||||
}
|
|
||||||
else if (strncmp(a_IDTag, "Witch", a_IDTagLength) == 0)
|
else if (strncmp(a_IDTag, "Witch", a_IDTagLength) == 0)
|
||||||
{
|
{
|
||||||
LoadWitchFromNBT(a_Entities, a_NBT, a_EntityTagIdx);
|
LoadWitchFromNBT(a_Entities, a_NBT, a_EntityTagIdx);
|
||||||
|
Loading…
Reference in New Issue
Block a user