Skip to content

Commit

Permalink
fix: fix Player::setBossBar #49
Browse files Browse the repository at this point in the history
  • Loading branch information
ShrBox committed Feb 25, 2024
1 parent 4bfd7ba commit 6792c29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/legacy/api/PlayerAPI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2132,7 +2132,7 @@ Local<Value> PlayerClass::setBossBar(const Arguments& args) {
BinaryStream bs;
bs.writeVarInt64(uid);
bs.writeUnsignedVarInt64(uid);
bs.writeString("minecraft:player");
bs.writeString("player");
bs.writeFloat(player->getPosition().x);
bs.writeFloat(-60.0f);
bs.writeFloat(player->getPosition().z);
Expand Down

0 comments on commit 6792c29

Please sign in to comment.