Skip to content

Commit 6792c29

Browse files
committed
fix: fix Player::setBossBar #49
1 parent 4bfd7ba commit 6792c29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/legacy/api/PlayerAPI.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2132,7 +2132,7 @@ Local<Value> PlayerClass::setBossBar(const Arguments& args) {
21322132
BinaryStream bs;
21332133
bs.writeVarInt64(uid);
21342134
bs.writeUnsignedVarInt64(uid);
2135-
bs.writeString("minecraft:player");
2135+
bs.writeString("player");
21362136
bs.writeFloat(player->getPosition().x);
21372137
bs.writeFloat(-60.0f);
21382138
bs.writeFloat(player->getPosition().z);

0 commit comments

Comments
 (0)