mirror of
https://github.com/PrismarineJS/node-minecraft-protocol.git
synced 2025-02-25 13:43:59 -05:00
Change how we export states enum
This commit is contained in:
parent
634eab0ba1
commit
07468e9049
1 changed files with 1 additions and 2 deletions
3
src/index.d.ts
vendored
3
src/index.d.ts
vendored
|
@ -117,7 +117,7 @@ declare module 'minecraft-protocol' {
|
|||
version: string
|
||||
}
|
||||
|
||||
enum States {
|
||||
enum states {
|
||||
HANDSHAKING = 'handshaking',
|
||||
LOGIN = 'login',
|
||||
PLAY = 'play',
|
||||
|
@ -168,7 +168,6 @@ declare module 'minecraft-protocol' {
|
|||
latency: number
|
||||
}
|
||||
|
||||
export const states: typeof States
|
||||
export const supportedVersions: ['1.7', '1.8', '1.9', '1.10', '1.11.2', '1.12.2', '1.13.2', '1.14.4', '1.15.2', '1.16.5', '1.17.1']
|
||||
|
||||
export function createServer(options: ServerOptions): Server
|
||||
|
|
Loading…
Reference in a new issue