diff options
author | archshift <admin@archshift.com> | 2014-06-07 06:48:20 +0200 |
---|---|---|
committer | archshift <admin@archshift.com> | 2014-06-17 20:39:19 +0200 |
commit | 481f05b011230cba42901df939306b803bd670b6 (patch) | |
tree | eaea1ab673ade4a85fc51ea3be9c3ceaf34999e7 /src/Entities/Player.h | |
parent | Added iterator on tick to manage entity effect duration (diff) | |
download | cuberite-481f05b011230cba42901df939306b803bd670b6.tar cuberite-481f05b011230cba42901df939306b803bd670b6.tar.gz cuberite-481f05b011230cba42901df939306b803bd670b6.tar.bz2 cuberite-481f05b011230cba42901df939306b803bd670b6.tar.lz cuberite-481f05b011230cba42901df939306b803bd670b6.tar.xz cuberite-481f05b011230cba42901df939306b803bd670b6.tar.zst cuberite-481f05b011230cba42901df939306b803bd670b6.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Entities/Player.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Entities/Player.h b/src/Entities/Player.h index b2142a18b..88f732096 100644 --- a/src/Entities/Player.h +++ b/src/Entities/Player.h @@ -526,6 +526,9 @@ protected: /** Stops players from burning in creative mode */ virtual void TickBurning(cChunk & a_Chunk) override; + /** Called each tick to handle entity effects*/ + virtual void HandleEntityEffects(cEntityEffect::eType a_EffectType, cEntityEffect a_Effect) override; + /** Called in each tick to handle food-related processing */ void HandleFood(void); |