3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-12-26 16:12:42 +01:00

Fix animals appearing as babies instead of parent

Dieser Commit ist enthalten in:
HugoDaBosss 2016-03-03 12:20:19 +01:00
Ursprung 5e34fda7e4
Commit e1ba6e07c2

Datei anzeigen

@ -86,7 +86,10 @@ public class MetadataRewriter {
PacketUtil.writeString((String) value, output);
break;
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;
case Slot:
PacketUtil.writeItem(value, output);