Skip to content

Commit 0025b19

Browse files
add optifine cape to player
1 parent bd54325 commit 0025b19

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mcutils-js-api",
3-
"version": "2.0.26",
3+
"version": "2.0.27",
44
"module": "dist/index.js",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",

src/types/player/cape/cape.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { CapePart } from "./cape-part";
22

33
export type Cape = {
4-
name: string;
4+
name?: string;
55
textureId: string;
66
textureUrl: string;
77
parts: Record<CapePart, string>;

src/types/player/player.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@ export type Player = {
88
legacyAccount: boolean;
99
skin: Skin;
1010
cape?: Cape;
11+
optifineCape?: Cape;
1112
rawProperties?: ProfileProperty[];
1213
};

0 commit comments

Comments
 (0)