mirror of
https://github.com/PaperMC/Velocity.git
synced 2026-02-17 22:47:42 +01:00
Merge branch 'dev/1.1.0' into dev/2.0.0
This commit is contained in:
@@ -122,7 +122,7 @@ public enum ProtocolVersion {
|
||||
* @return the protocol version
|
||||
*/
|
||||
public int getProtocol() {
|
||||
return protocol;
|
||||
return protocol == -1 ? snapshotProtocol : protocol;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user