update js lib doc
This commit is contained in:
parent
4b336e4456
commit
3b1872a9dc
@ -22,7 +22,7 @@ This is a simple example of how to use the Javascript library to get a player's
|
|||||||
```javascript
|
```javascript
|
||||||
import { getPlayer, CachedPlayer } from "mcutils-library";
|
import { getPlayer, CachedPlayer } from "mcutils-library";
|
||||||
|
|
||||||
const cachedPlayer = await getPlayer(playerId);
|
const cachedPlayer: CachedPlayer = await getPlayer(playerId);
|
||||||
|
|
||||||
console.log(player);
|
console.log(player);
|
||||||
```
|
```
|
Loading…
Reference in New Issue
Block a user