diff options
author | 12xx12 <44411062+12xx12@users.noreply.github.com> | 2020-08-12 10:54:36 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@outlook.com> | 2020-08-19 21:45:27 +0200 |
commit | 7d0813ce8c1be14bc1b9b706644bd4aa797244ee (patch) | |
tree | 6d026a11be6db2da3d60b94b4f4a442460253e1d /src/Entities/Player.h | |
parent | Add enhanced Gold generation in Mesa-Type Biomes (#4821) (diff) | |
download | cuberite-7d0813ce8c1be14bc1b9b706644bd4aa797244ee.tar cuberite-7d0813ce8c1be14bc1b9b706644bd4aa797244ee.tar.gz cuberite-7d0813ce8c1be14bc1b9b706644bd4aa797244ee.tar.bz2 cuberite-7d0813ce8c1be14bc1b9b706644bd4aa797244ee.tar.lz cuberite-7d0813ce8c1be14bc1b9b706644bd4aa797244ee.tar.xz cuberite-7d0813ce8c1be14bc1b9b706644bd4aa797244ee.tar.zst cuberite-7d0813ce8c1be14bc1b9b706644bd4aa797244ee.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Entities/Player.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/Entities/Player.h b/src/Entities/Player.h index c52d6bbdc..6297ddcbc 100644 --- a/src/Entities/Player.h +++ b/src/Entities/Player.h @@ -235,9 +235,8 @@ public: /** Awards the player an achievement. If all prerequisites are met, this method will award the achievement and will broadcast a chat message. - If the achievement has been already awarded to the player, this method will just increment the stat counter. - Returns the _new_ stat value. (0 = Could not award achievement) */ - unsigned int AwardAchievement(const eStatistic a_Ach); + If the achievement has been already awarded to the player, this method will just increment the stat counter. */ + void AwardAchievement(Statistic a_Ach); void SetIP(const AString & a_IP); |