1
0

Initial round of fixes

* Fixed intentional misspelling of baby! :D
* Better chested horse bool name
* Fixed some weird continuity issues with my recent changes not being
pushed up initially
* Fixed derpy hexadecimal values
This commit is contained in:
Tiger Wang
2013-10-08 22:21:55 +01:00
parent 5db6213f34
commit 7401fc000d
4 changed files with 35 additions and 25 deletions

View File

@@ -1638,11 +1638,11 @@ void cProtocol125::WriteMetadata(const cEntity & a_Entity)
}
if (a_Entity.IsRclking())
{
CommonMetadata |= 0x16;
CommonMetadata |= 0x10;
}
if (a_Entity.IsInvisible())
{
CommonMetadata |= 0x32;
CommonMetadata |= 0x20;
}
WriteByte(0x0);
@@ -1691,7 +1691,7 @@ void cProtocol125::WriteMetadata(const cEntity & a_Entity)
else if (a_Entity.IsA("cZombie"))
{
WriteByte(0xC);
WriteByte(a_Entity.IsBabby() ? 1 : 0); // Babby zombie?
WriteByte(a_Entity.IsBaby() ? 1 : 0); // Babby zombie?
WriteByte(0xD);
WriteByte(a_Entity.IsVillZomb() ? 1 : 0); // Converted zombie?
WriteByte(0xE);
@@ -1784,7 +1784,7 @@ void cProtocol125::WriteMetadata(const cEntity & a_Entity)
{
Flags |= 0x8;
}
if (a_Entity.IsBabby())
if (a_Entity.IsBaby())
{
Flags |= 0x10; // IsBred flag, according to wiki.vg - don't think it does anything in multiplayer
}