mirror of
https://github.com/ViaVersion/ViaBackwards.git
synced 2025-02-24 03:11:27 +01:00
Use right type for component metadata
This commit is contained in:
parent
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();
|
||||
|
||||
filter().handler((event, meta) -> {
|
||||
if (meta.metaType() == MetaType1_9.Chat) {
|
||||
if (meta.metaType() == MetaType1_12.Chat) {
|
||||
ChatPackets1_12.COMPONENT_REWRITER.processText((JsonElement) meta.getValue());
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user