Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-11-07 16:50:14 +01:00
Readd second cancelOutgoing method for VB
Dieser Commit ist enthalten in:
Ursprung
3adffdc438
Commit
48edd01461
@ -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
|
||||
*
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren