Skip to content

Commit

Permalink
Update main.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Owen3H committed Jun 24, 2024
1 parent fdd34ec commit c3de790
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,13 @@ async function getServerInfo() {
}
}

const OfficialAPI = {
V2: OAPIV2,
V3: OAPIV3
export class OfficialAPI {
static V2 = OAPIV2
static V3 = OAPIV3
}

export {
MCAPI as MojangLib,
OfficialAPI,
endpoint,
fetchServer,
getServerInfo,
Expand Down

0 comments on commit c3de790

Please sign in to comment.