Mirror von
https://github.com/PaperMC/Velocity.git
synchronisiert 2024-11-17 05:20:14 +01:00
Fix logic for telling the server snapshot versions.
Dieser Commit ist enthalten in:
Ursprung
54c5effe27
Commit
642573e9e0
@ -122,7 +122,7 @@ public enum ProtocolVersion {
|
|||||||
* @return the protocol version
|
* @return the protocol version
|
||||||
*/
|
*/
|
||||||
public int getProtocol() {
|
public int getProtocol() {
|
||||||
return protocol;
|
return protocol == -1 ? snapshotProtocol : protocol;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren