Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-12-28 17:10:13 +01:00
Ursprung
5051e7ea48
Commit
be2ba2b1b9
@ -8,7 +8,7 @@ public enum MetaType1_12 implements MetaType {
|
|||||||
VarInt(1, Type.VAR_INT),
|
VarInt(1, Type.VAR_INT),
|
||||||
Float(2, Type.FLOAT),
|
Float(2, Type.FLOAT),
|
||||||
String(3, Type.STRING),
|
String(3, Type.STRING),
|
||||||
Chat(4, Type.STRING),
|
Chat(4, Type.COMPONENT),
|
||||||
Slot(5, Type.ITEM),
|
Slot(5, Type.ITEM),
|
||||||
Boolean(6, Type.BOOLEAN),
|
Boolean(6, Type.BOOLEAN),
|
||||||
Vector3F(7, Type.ROTATION),
|
Vector3F(7, Type.ROTATION),
|
||||||
|
@ -8,7 +8,7 @@ public enum MetaType1_9 implements MetaType {
|
|||||||
VarInt(1, Type.VAR_INT),
|
VarInt(1, Type.VAR_INT),
|
||||||
Float(2, Type.FLOAT),
|
Float(2, Type.FLOAT),
|
||||||
String(3, Type.STRING),
|
String(3, Type.STRING),
|
||||||
Chat(4, Type.STRING),
|
Chat(4, Type.COMPONENT),
|
||||||
Slot(5, Type.ITEM),
|
Slot(5, Type.ITEM),
|
||||||
Boolean(6, Type.BOOLEAN),
|
Boolean(6, Type.BOOLEAN),
|
||||||
Vector3F(7, Type.ROTATION),
|
Vector3F(7, Type.ROTATION),
|
||||||
|
@ -121,7 +121,7 @@ public class MetadataRewriter1_9To1_8 extends MetadataRewriter {
|
|||||||
metadata.setValue(angle);
|
metadata.setValue(angle);
|
||||||
break;
|
break;
|
||||||
case Chat:
|
case Chat:
|
||||||
value = Protocol1_9To1_8.fixJson((String) value);
|
value = Protocol1_9To1_8.fixJson(value.toString());
|
||||||
metadata.setValue(value);
|
metadata.setValue(value);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren