3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-12-26 16:12:42 +01:00
Dieser Commit ist enthalten in:
HugoDaBosss 2016-03-03 12:22:54 +01:00
Ursprung e1ba6e07c2
Commit cc813545d8

Datei anzeigen

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