3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-12-27 00:22:51 +01:00

Merge pull request #84 from HugoDaBosss/patch-4

Fix animals appearing as babies instead of parents
Dieser Commit ist enthalten in:
Myles 2016-03-03 12:56:37 +00:00
Commit 624595e9f6

Datei anzeigen

@ -86,7 +86,10 @@ public class MetadataRewriter {
PacketUtil.writeString((String) value, output); PacketUtil.writeString((String) value, output);
break; break;
case Boolean: case Boolean:
output.writeBoolean(((Byte) value).byteValue() != 0); if(metaIndex == MetaIndex.AGEABLE_AGE)
output.writeBoolean(((Byte) value).byteValue() < 0);
else
output.writeBoolean(((Byte) value).byteValue() != 0);
break; break;
case Slot: case Slot:
PacketUtil.writeItem(value, output); PacketUtil.writeItem(value, output);