Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-12-26 16:12:42 +01:00
Formatting
Dieser Commit ist enthalten in:
Ursprung
e1ba6e07c2
Commit
cc813545d8
@ -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);
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren