Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ShrBox committed Dec 3, 2022
1 parent 02f59b9 commit c77dca6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LiteLoader/src/llapi/mc/PlayerAPI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ void Player::setAbility(AbilitiesIndex index, bool value) {

std::string Player::getRealName() {
if (isSimulatedPlayer())
return dAccess<std::string>(this, 2088);
return getName();
return ExtendedCertificate::getIdentityName(*getCertificate());
}

Expand Down

0 comments on commit c77dca6

Please sign in to comment.