summaryrefslogtreecommitdiffstats
path: root/src/Items/ItemHandler.h
diff options
context:
space:
mode:
authorjfhumann <j.f.humann@gmail.com>2014-04-18 22:47:59 +0200
committerjfhumann <j.f.humann@gmail.com>2014-04-18 22:47:59 +0200
commit5bed1c09bc239f0b5c7b31945c4ee3e5b94cdf17 (patch)
tree365677bf135442f15371ef77cc0ee3f378fd8f4b /src/Items/ItemHandler.h
parentSmall style changes (diff)
downloadcuberite-5bed1c09bc239f0b5c7b31945c4ee3e5b94cdf17.tar
cuberite-5bed1c09bc239f0b5c7b31945c4ee3e5b94cdf17.tar.gz
cuberite-5bed1c09bc239f0b5c7b31945c4ee3e5b94cdf17.tar.bz2
cuberite-5bed1c09bc239f0b5c7b31945c4ee3e5b94cdf17.tar.lz
cuberite-5bed1c09bc239f0b5c7b31945c4ee3e5b94cdf17.tar.xz
cuberite-5bed1c09bc239f0b5c7b31945c4ee3e5b94cdf17.tar.zst
cuberite-5bed1c09bc239f0b5c7b31945c4ee3e5b94cdf17.zip
Diffstat (limited to '')
-rw-r--r--src/Items/ItemHandler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Items/ItemHandler.h b/src/Items/ItemHandler.h
index 686f4b439..f3d78335e 100644
--- a/src/Items/ItemHandler.h
+++ b/src/Items/ItemHandler.h
@@ -63,8 +63,8 @@ public:
int PoisonChance; // 0 - 100, in percent. 0 = no chance of poisoning, 100 = sure poisoning
FoodInfo(int a_FoodLevel, double a_Saturation, int a_PoisonChance = 0) :
- FoodLevel(a_FoodLevel),
Saturation(a_Saturation),
+ FoodLevel(a_FoodLevel),
PoisonChance(a_PoisonChance)
{
}