diff options
author | 12xx12 <12xx12100@gmail.com> | 2020-09-21 23:23:01 +0200 |
---|---|---|
committer | peterbell10 <peterbell10@live.co.uk> | 2020-09-21 23:58:38 +0200 |
commit | 51e026a3aeb1716f69c6005cf4318220818bdcc5 (patch) | |
tree | fff29213e63da8335327486c1ab15d5e10bf96d0 | |
parent | Implement redstone quasi-connectivity (#4889) (diff) | |
download | cuberite-51e026a3aeb1716f69c6005cf4318220818bdcc5.tar cuberite-51e026a3aeb1716f69c6005cf4318220818bdcc5.tar.gz cuberite-51e026a3aeb1716f69c6005cf4318220818bdcc5.tar.bz2 cuberite-51e026a3aeb1716f69c6005cf4318220818bdcc5.tar.lz cuberite-51e026a3aeb1716f69c6005cf4318220818bdcc5.tar.xz cuberite-51e026a3aeb1716f69c6005cf4318220818bdcc5.tar.zst cuberite-51e026a3aeb1716f69c6005cf4318220818bdcc5.zip |
-rw-r--r-- | src/Defines.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Defines.cpp b/src/Defines.cpp index a016dba92..d0b6ff956 100644 --- a/src/Defines.cpp +++ b/src/Defines.cpp @@ -275,6 +275,7 @@ AString DamageTypeToString(eDamageType a_DamageType) case dtCactusContact: return "dtCactusContact"; case dtDrowning: return "dtDrowning"; case dtEnderPearl: return "dtEnderPearl"; + case dtEnvironment: return "dtEnvironment"; case dtFalling: return "dtFalling"; case dtFireContact: return "dtFireContact"; case dtInVoid: return "dtInVoid"; @@ -331,6 +332,7 @@ eDamageType StringToDamageType(const AString & a_DamageTypeString) { dtPotionOfHarming, "dtPotionOfHarming"}, { dtAdmin, "dtAdmin"}, { dtExplosion, "dtExplosion"}, + { dtEnvironment, "dtEnvironment"}, // Common synonyms: { dtAttack, "dtPawnAttack"}, |