mirror of
https://github.com/ViaVersion/ViaBackwards.git
synced 2025-02-22 02:51:51 +01:00
Fix 1.12 chat reading
This commit is contained in:
parent
efd435e908
commit
f75420a642
@ -41,9 +41,6 @@ public class ChatPackets1_12 extends Rewriter<Protocol1_11_1To1_12> {
|
||||
protocol.registerOutgoing(ClientboundPackets1_12.CHAT_MESSAGE, new PacketRemapper() {
|
||||
@Override
|
||||
public void registerMap() {
|
||||
map(Type.COMPONENT); // 0 - Json Data
|
||||
map(Type.BYTE); // 1 - Position
|
||||
|
||||
handler(wrapper -> {
|
||||
JsonElement element = wrapper.passthrough(Type.COMPONENT);
|
||||
componentRewriter.processText(element);
|
||||
|
Loading…
Reference in New Issue
Block a user