diff options
author | madmaxoft <github@xoft.cz> | 2014-02-04 23:09:07 +0100 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-02-04 23:09:07 +0100 |
commit | a96ea33b64a87cff22814fb216f7bdd20613577d (patch) | |
tree | 62bd6813f5affa0b5d61ebd3acfe02a0e38efacc /src | |
parent | Protocol 1.7: Fixed a signed / unsigned comparison warning. (diff) | |
download | cuberite-a96ea33b64a87cff22814fb216f7bdd20613577d.tar cuberite-a96ea33b64a87cff22814fb216f7bdd20613577d.tar.gz cuberite-a96ea33b64a87cff22814fb216f7bdd20613577d.tar.bz2 cuberite-a96ea33b64a87cff22814fb216f7bdd20613577d.tar.lz cuberite-a96ea33b64a87cff22814fb216f7bdd20613577d.tar.xz cuberite-a96ea33b64a87cff22814fb216f7bdd20613577d.tar.zst cuberite-a96ea33b64a87cff22814fb216f7bdd20613577d.zip |
Diffstat (limited to '')
-rw-r--r-- | src/BlockID.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/BlockID.cpp b/src/BlockID.cpp index de56d4625..c38db0bfe 100644 --- a/src/BlockID.cpp +++ b/src/BlockID.cpp @@ -380,7 +380,7 @@ AString DamageTypeToString(eDamageType a_DamageType) case dtRangedAttack: return "dtRangedAttack"; case dtStarving: return "dtStarving"; case dtSuffocating: return "dtSuffocation"; - + case dtExplosion: return "dtExplosion"; } // Unknown damage type: @@ -426,6 +426,7 @@ eDamageType StringToDamageType(const AString & a_DamageTypeString) { dtInVoid, "dtInVoid"}, { dtPotionOfHarming, "dtPotionOfHarming"}, { dtAdmin, "dtAdmin"}, + { dtExplosion, "dtExplosion"}, // Common synonyms: { dtAttack, "dtPawnAttack"}, |