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