3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-09-16 01:01:21 +02:00

Readd second cancelOutgoing method for VB

Dieser Commit ist enthalten in:
KennyTV 2019-10-02 15:55:59 +02:00
Ursprung 3adffdc438
Commit 48edd01461

Datei anzeigen

@ -171,6 +171,15 @@ public abstract class Protocol {
});
}
public void cancelOutgoing(State state, int oldPacketID) {
registerIncoming(state, oldPacketID, -1, new PacketRemapper() {
@Override
public void registerMap() {
handler(PacketWrapper::cancel);
}
});
}
/**
* Transform a packet using this protocol
*