summaryrefslogtreecommitdiffstats
path: root/src/BlockID.cpp
diff options
context:
space:
mode:
authorarchshift <admin@archshift.com>2014-06-09 06:51:55 +0200
committerarchshift <admin@archshift.com>2014-06-17 20:39:21 +0200
commit814cdca054bec5826b491f6d9d9867ce587d2def (patch)
treef5c452b3433955cf376c1c19a72f242c36ebe688 /src/BlockID.cpp
parentMonster: added IsUndead(), undead-specific entity effects (diff)
downloadcuberite-814cdca054bec5826b491f6d9d9867ce587d2def.tar
cuberite-814cdca054bec5826b491f6d9d9867ce587d2def.tar.gz
cuberite-814cdca054bec5826b491f6d9d9867ce587d2def.tar.bz2
cuberite-814cdca054bec5826b491f6d9d9867ce587d2def.tar.lz
cuberite-814cdca054bec5826b491f6d9d9867ce587d2def.tar.xz
cuberite-814cdca054bec5826b491f6d9d9867ce587d2def.tar.zst
cuberite-814cdca054bec5826b491f6d9d9867ce587d2def.zip
Diffstat (limited to '')
-rw-r--r--src/BlockID.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/BlockID.cpp b/src/BlockID.cpp
index bfe826f40..8edc51664 100644
--- a/src/BlockID.cpp
+++ b/src/BlockID.cpp
@@ -363,6 +363,7 @@ AString DamageTypeToString(eDamageType a_DamageType)
case dtLightning: return "dtLightning";
case dtOnFire: return "dtOnFire";
case dtPoisoning: return "dtPoisoning";
+ case dtWithering: return "dtWithering";
case dtPotionOfHarming: return "dtPotionOfHarming";
case dtRangedAttack: return "dtRangedAttack";
case dtStarving: return "dtStarving";
@@ -408,6 +409,7 @@ eDamageType StringToDamageType(const AString & a_DamageTypeString)
{ dtCactusContact, "dtCactusContact"},
{ dtLavaContact, "dtLavaContact"},
{ dtPoisoning, "dtPoisoning"},
+ { dtWithering, "dtWithering"},
{ dtOnFire, "dtOnFire"},
{ dtFireContact, "dtFireContact"},
{ dtInVoid, "dtInVoid"},
@@ -433,6 +435,7 @@ eDamageType StringToDamageType(const AString & a_DamageTypeString)
{ dtCactusContact, "dtCacti"},
{ dtLavaContact, "dtLava"},
{ dtPoisoning, "dtPoison"},
+ { dtWithering, "dtWither"},
{ dtOnFire, "dtBurning"},
{ dtFireContact, "dtInFire"},
{ dtAdmin, "dtPlugin"},