3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-11-03 14:50:30 +01:00
Dieser Commit ist enthalten in:
creeper123123321 2018-12-10 12:53:21 -02:00
Ursprung 7fe99c98f0
Commit 7c6118bd6f
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 0AC57D54786721D1

Datei anzeigen

@ -919,9 +919,6 @@ public class Protocol1_13To1_12_2 extends Protocol {
registerIncoming(State.PLAY, 0x12, 0x16, new PacketRemapper() {
@Override
public void registerMap() {
handler(new PacketHandler() {
@Override
public void handle(PacketWrapper wrapper) throws Exception {
map(Type.BYTE); // Window id
handler(new PacketHandler() {
@Override
@ -931,8 +928,6 @@ public class Protocol1_13To1_12_2 extends Protocol {
});
}
});
}
});
registerIncoming(State.PLAY, 0x13, 0x17);
registerIncoming(State.PLAY, 0x14, 0x18);
@ -951,7 +946,8 @@ public class Protocol1_13To1_12_2 extends Protocol {
if (type == 0) {
wrapper.write(Type.INT, Integer.parseInt(wrapper.read(Type.STRING).substring(18)));
} if (type == 1) {
}
if (type == 1) {
wrapper.passthrough(Type.BOOLEAN); // Crafting Recipe Book Open
wrapper.passthrough(Type.BOOLEAN); // Crafting Recipe Filter Active
wrapper.read(Type.BOOLEAN); // Smelting Recipe Book Open | IGNORE NEW 1.13 FIELD