Mirror von
https://github.com/ViaVersion/ViaBackwards.git
synchronisiert 2025-01-11 15:41:03 +01:00
Use right type for component metadata
Dieser Commit ist enthalten in:
Ursprung
509055307a
Commit
1b268ad4ec
@ -208,7 +208,7 @@ public class EntityPackets1_12 extends LegacyEntityRewriter<ClientboundPackets1_
|
|||||||
mapEntityTypeWithData(Entity1_12Types.EntityType.ILLUSION_ILLAGER, Entity1_12Types.EntityType.EVOCATION_ILLAGER).plainName();
|
mapEntityTypeWithData(Entity1_12Types.EntityType.ILLUSION_ILLAGER, Entity1_12Types.EntityType.EVOCATION_ILLAGER).plainName();
|
||||||
|
|
||||||
filter().handler((event, meta) -> {
|
filter().handler((event, meta) -> {
|
||||||
if (meta.metaType() == MetaType1_9.Chat) {
|
if (meta.metaType() == MetaType1_12.Chat) {
|
||||||
ChatPackets1_12.COMPONENT_REWRITER.processText((JsonElement) meta.getValue());
|
ChatPackets1_12.COMPONENT_REWRITER.processText((JsonElement) meta.getValue());
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Laden…
x
In neuem Issue referenzieren
Einen Benutzer sperren