summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorarchshift <admin@archshift.com>2014-07-17 23:34:58 +0200
committerarchshift <admin@archshift.com>2014-07-17 23:34:58 +0200
commitbc94ad4b5ae089fe5ee984a827a0575926102bdc (patch)
treeb894ca2214bce153447f4e06b73f02dfc9adace7 /src
parentFixed code style in Trees.cpp. (diff)
downloadcuberite-bc94ad4b5ae089fe5ee984a827a0575926102bdc.tar
cuberite-bc94ad4b5ae089fe5ee984a827a0575926102bdc.tar.gz
cuberite-bc94ad4b5ae089fe5ee984a827a0575926102bdc.tar.bz2
cuberite-bc94ad4b5ae089fe5ee984a827a0575926102bdc.tar.lz
cuberite-bc94ad4b5ae089fe5ee984a827a0575926102bdc.tar.xz
cuberite-bc94ad4b5ae089fe5ee984a827a0575926102bdc.tar.zst
cuberite-bc94ad4b5ae089fe5ee984a827a0575926102bdc.zip
Diffstat (limited to '')
-rw-r--r--src/Entities/Player.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Entities/Player.cpp b/src/Entities/Player.cpp
index a356ebba7..5c3303cb2 100644
--- a/src/Entities/Player.cpp
+++ b/src/Entities/Player.cpp
@@ -580,7 +580,7 @@ bool cPlayer::Feed(int a_Food, double a_Saturation)
void cPlayer::FoodPoison(int a_NumTicks)
{
- AddEntityEffect(cEntityEffect::effHunger, a_NumTicks, 0, NULL);
+ AddEntityEffect(cEntityEffect::effHunger, a_NumTicks, 0, 1);
}