3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-10-03 16:51:04 +02: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,6 +86,9 @@ public class MetadataRewriter {
PacketUtil.writeString((String) value, output); PacketUtil.writeString((String) value, output);
break; break;
case Boolean: case Boolean:
if(metaIndex == MetaIndex.AGEABLE_AGE)
output.writeBoolean(((Byte) value).byteValue() < 0);
else
output.writeBoolean(((Byte) value).byteValue() != 0); output.writeBoolean(((Byte) value).byteValue() != 0);
break; break;
case Slot: case Slot: