summaryrefslogtreecommitdiffstats
path: root/source/Entities/Player.h
diff options
context:
space:
mode:
authorDaniel O'Brien <marmot.daniel@gmail.com>2013-11-16 12:43:42 +0100
committerDaniel O'Brien <marmot.daniel@gmail.com>2013-11-16 12:43:42 +0100
commitd2d8b1d0736c2af002dc3b91f5281fa4d866470f (patch)
tree771ef54d39eae6af463807d27c799421fd1e6d51 /source/Entities/Player.h
parentupdated plugin again... (diff)
downloadcuberite-d2d8b1d0736c2af002dc3b91f5281fa4d866470f.tar
cuberite-d2d8b1d0736c2af002dc3b91f5281fa4d866470f.tar.gz
cuberite-d2d8b1d0736c2af002dc3b91f5281fa4d866470f.tar.bz2
cuberite-d2d8b1d0736c2af002dc3b91f5281fa4d866470f.tar.lz
cuberite-d2d8b1d0736c2af002dc3b91f5281fa4d866470f.tar.xz
cuberite-d2d8b1d0736c2af002dc3b91f5281fa4d866470f.tar.zst
cuberite-d2d8b1d0736c2af002dc3b91f5281fa4d866470f.zip
Diffstat (limited to 'source/Entities/Player.h')
-rw-r--r--source/Entities/Player.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/Entities/Player.h b/source/Entities/Player.h
index 5abca9899..bda25715d 100644
--- a/source/Entities/Player.h
+++ b/source/Entities/Player.h
@@ -74,7 +74,8 @@ public:
*/
bool SetCurrentExperience(short a_XpTotal);
- /* changes Xp by Xp_delta, you "shouldn't" not inc more than MAX_EXPERIENCE_ORB_SIZE
+ /* changes Xp by Xp_delta, you "shouldn't" inc more than MAX_EXPERIENCE_ORB_SIZE
+ Wont't allow xp to go negative
Returns the new current experience, -1 on error
*/
short DeltaExperience(short a_Xp_delta);