summaryrefslogtreecommitdiffstats
path: root/src/Entities/EntityEffect.cpp
diff options
context:
space:
mode:
authorarchshift <admin@archshift.com>2014-09-03 07:56:39 +0200
committerarchshift <admin@archshift.com>2014-09-03 07:56:39 +0200
commitb414e918833999ae0c2b11cefd864ad3c07fc18f (patch)
tree0b7c577c8e6358abf9560487624330159636c928 /src/Entities/EntityEffect.cpp
parentClang wants volatile... (diff)
downloadcuberite-b414e918833999ae0c2b11cefd864ad3c07fc18f.tar
cuberite-b414e918833999ae0c2b11cefd864ad3c07fc18f.tar.gz
cuberite-b414e918833999ae0c2b11cefd864ad3c07fc18f.tar.bz2
cuberite-b414e918833999ae0c2b11cefd864ad3c07fc18f.tar.lz
cuberite-b414e918833999ae0c2b11cefd864ad3c07fc18f.tar.xz
cuberite-b414e918833999ae0c2b11cefd864ad3c07fc18f.tar.zst
cuberite-b414e918833999ae0c2b11cefd864ad3c07fc18f.zip
Diffstat (limited to 'src/Entities/EntityEffect.cpp')
-rw-r--r--src/Entities/EntityEffect.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Entities/EntityEffect.cpp b/src/Entities/EntityEffect.cpp
index 3e28392f4..a33955a6a 100644
--- a/src/Entities/EntityEffect.cpp
+++ b/src/Entities/EntityEffect.cpp
@@ -34,6 +34,7 @@ cEntityEffect::eType cEntityEffect::GetPotionEffectType(short a_ItemDamage)
case 0x08: return cEntityEffect::effWeakness;
case 0x09: return cEntityEffect::effStrength;
case 0x0a: return cEntityEffect::effSlowness;
+ case 0x0b: return cEntityEffect::effJumpBoost;
case 0x0c: return cEntityEffect::effInstantDamage;
case 0x0d: return cEntityEffect::effWaterBreathing;
case 0x0e: return cEntityEffect::effInvisibility;
@@ -41,7 +42,6 @@ cEntityEffect::eType cEntityEffect::GetPotionEffectType(short a_ItemDamage)
// No effect potions
case 0x00:
case 0x07:
- case 0x0b: // Will be potion of leaping in 1.8
case 0x0f:
{
break;