summaryrefslogtreecommitdiffstats
path: root/src/Items
diff options
context:
space:
mode:
authorarchshift <admin@archshift.com>2014-06-07 06:55:23 +0200
committerarchshift <admin@archshift.com>2014-06-17 20:39:19 +0200
commit2123173202554487386697625342b7ba21744960 (patch)
tree7c6c9938e87df3883c78a02caf2e4867b53c9b1f /src/Items
parentEntity effects: Added handlers for entity effects (diff)
downloadcuberite-2123173202554487386697625342b7ba21744960.tar
cuberite-2123173202554487386697625342b7ba21744960.tar.gz
cuberite-2123173202554487386697625342b7ba21744960.tar.bz2
cuberite-2123173202554487386697625342b7ba21744960.tar.lz
cuberite-2123173202554487386697625342b7ba21744960.tar.xz
cuberite-2123173202554487386697625342b7ba21744960.tar.zst
cuberite-2123173202554487386697625342b7ba21744960.zip
Diffstat (limited to 'src/Items')
-rw-r--r--src/Items/ItemHandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Items/ItemHandler.cpp b/src/Items/ItemHandler.cpp
index d97f986ba..67740e860 100644
--- a/src/Items/ItemHandler.cpp
+++ b/src/Items/ItemHandler.cpp
@@ -577,7 +577,7 @@ bool cItemHandler::EatItem(cPlayer * a_Player, cItem * a_Item)
cFastRandom r1;
if ((r1.NextInt(100, a_Player->GetUniqueID()) - Info.PoisonChance) <= 0)
{
- a_Player->FoodPoison(300);
+ a_Player->FoodPoison(600); // Give the player food poisoning for 30 seconds.
}
}