diff options
author | archshift <admin@archshift.com> | 2014-06-07 08:05:29 +0200 |
---|---|---|
committer | archshift <admin@archshift.com> | 2014-06-17 20:39:19 +0200 |
commit | a9a4c9c6b25438aaebdeef03c323e9aa4a0348c2 (patch) | |
tree | ac30c249763e1b1c62dbfda585c62ecb56212adb /src/Entities/Player.cpp | |
parent | Player: Removed food-poisoning-specific code, set duration to 30 seconds (diff) | |
download | cuberite-a9a4c9c6b25438aaebdeef03c323e9aa4a0348c2.tar cuberite-a9a4c9c6b25438aaebdeef03c323e9aa4a0348c2.tar.gz cuberite-a9a4c9c6b25438aaebdeef03c323e9aa4a0348c2.tar.bz2 cuberite-a9a4c9c6b25438aaebdeef03c323e9aa4a0348c2.tar.lz cuberite-a9a4c9c6b25438aaebdeef03c323e9aa4a0348c2.tar.xz cuberite-a9a4c9c6b25438aaebdeef03c323e9aa4a0348c2.tar.zst cuberite-a9a4c9c6b25438aaebdeef03c323e9aa4a0348c2.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Entities/Player.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Entities/Player.cpp b/src/Entities/Player.cpp index 3a1ebf3f9..d075957fe 100644 --- a/src/Entities/Player.cpp +++ b/src/Entities/Player.cpp @@ -570,7 +570,7 @@ bool cPlayer::Feed(int a_Food, double a_Saturation) void cPlayer::FoodPoison(int a_NumTicks) { - AddEntityEffect(cEntityEffect::efHunger, cEntityEffect(0, a_NumTicks)); + AddEntityEffect(cEntityEffect::efHunger, cEntityEffect(0, a_NumTicks, NULL)); } |