summaryrefslogtreecommitdiffstats
path: root/src/Entities/Player.h
diff options
context:
space:
mode:
authorarchshift <admin@archshift.com>2014-06-07 06:48:20 +0200
committerarchshift <admin@archshift.com>2014-06-17 20:39:19 +0200
commit481f05b011230cba42901df939306b803bd670b6 (patch)
treeeaea1ab673ade4a85fc51ea3be9c3ceaf34999e7 /src/Entities/Player.h
parentAdded iterator on tick to manage entity effect duration (diff)
downloadcuberite-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.h3
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);