mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-28 07:20:24 +01:00
Expose protocol version
This commit is contained in:
parent
83c4827433
commit
f4eab2ee51
1 changed files with 7 additions and 0 deletions
|
@ -180,5 +180,12 @@ public interface UnsafeValues {
|
||||||
* Just don't use it.
|
* Just don't use it.
|
||||||
*/
|
*/
|
||||||
@org.jetbrains.annotations.NotNull String getMainLevelName();
|
@org.jetbrains.annotations.NotNull String getMainLevelName();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns the server's protocol version.
|
||||||
|
*
|
||||||
|
* @return the server's protocol version
|
||||||
|
*/
|
||||||
|
int getProtocolVersion();
|
||||||
// Paper end
|
// Paper end
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue