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:
Commit
624595e9f6
@ -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:
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren