Skip to content
This repository has been archived by the owner on Nov 1, 2024. It is now read-only.

Commit

Permalink
0.1.7_fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ShrBox committed Feb 20, 2021
1 parent 504479b commit 1c1fa1d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions LiteLoader/api/WPlayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,15 +92,15 @@ struct xuidStorage {
}
};
static playerMap<xuidStorage> xuid_cache;
LIAPI xuid_t WPlayer::getXuid() {
/*LIAPI xuid_t WPlayer::getXuid() {
return xuid_cache[v];
}
}*/
LIAPI const string& WPlayer::getName() {
return xuid_cache[v];
}
LIAPI string WPlayer::getRealName() {
/*LIAPI string WPlayer::getRealName() {
return ExtendedCertificate::getIdentityName(*_getCert());
}
}*/
LIAPI permlvl_t WPlayer::getPermLvl() {
return v->getCommandPermissionLevel()&0xff;
}
Expand Down
4 changes: 2 additions & 2 deletions headers/api/types/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ struct WPlayer : Wrapped<ServerPlayer> {
return (WMob*)this;
}
LIAPI string const& getName();
LIAPI xuid_t getXuid();
LIAPI string getRealName();
//LIAPI xuid_t getXuid();
//LIAPI string getRealName();
LIAPI permlvl_t getPermLvl();
LIAPI class BlockSource& getBlockSource_();
inline void teleport(Vec3 to, int dimid) {
Expand Down
2 changes: 1 addition & 1 deletion headers/liteloader.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
#define LIAPI __declspec(dllexport)
#endif
typedef unsigned char uchar;
#define LiteLoaderVersion "0.1.7"
#define LiteLoaderVersion "0.1.7_fix"

0 comments on commit 1c1fa1d

Please # to comment.