Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-11-20 06:50:08 +01:00
Change CUSTOM_PAYLOAD handler in 1.10->1.11 to soft fail. (#3844)
Dieser Commit ist enthalten in:
Ursprung
bd4df2813d
Commit
c9dfc739a2
@ -45,7 +45,7 @@ public class ItemPacketRewriter1_11 extends ItemRewriter<ClientboundPackets1_9_3
|
|||||||
public void register() {
|
public void register() {
|
||||||
map(Types.STRING); // 0 - Channel
|
map(Types.STRING); // 0 - Channel
|
||||||
|
|
||||||
handler(wrapper -> {
|
handlerSoftFail(wrapper -> {
|
||||||
if (wrapper.get(Types.STRING, 0).equals("MC|TrList")) {
|
if (wrapper.get(Types.STRING, 0).equals("MC|TrList")) {
|
||||||
wrapper.passthrough(Types.INT); // Passthrough Window ID
|
wrapper.passthrough(Types.INT); // Passthrough Window ID
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren