mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2025-02-23 07:01:24 +01:00
Change CUSTOM_PAYLOAD handler in 1.10->1.11 to soft fail. (#3844)
This commit is contained in:
parent
bd4df2813d
commit
c9dfc739a2
@ -45,7 +45,7 @@ public class ItemPacketRewriter1_11 extends ItemRewriter<ClientboundPackets1_9_3
|
||||
public void register() {
|
||||
map(Types.STRING); // 0 - Channel
|
||||
|
||||
handler(wrapper -> {
|
||||
handlerSoftFail(wrapper -> {
|
||||
if (wrapper.get(Types.STRING, 0).equals("MC|TrList")) {
|
||||
wrapper.passthrough(Types.INT); // Passthrough Window ID
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user