mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2025-02-18 04:31:44 +01:00
Fix animals appearing as babies instead of parent
This commit is contained in:
parent
5e34fda7e4
commit
e1ba6e07c2
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user