summaryrefslogtreecommitdiffstats
path: root/src/Defines.cpp
diff options
context:
space:
mode:
author12xx12 <12xx12100@gmail.com>2020-09-21 23:23:01 +0200
committerpeterbell10 <peterbell10@live.co.uk>2020-09-21 23:58:38 +0200
commit51e026a3aeb1716f69c6005cf4318220818bdcc5 (patch)
treefff29213e63da8335327486c1ab15d5e10bf96d0 /src/Defines.cpp
parentImplement redstone quasi-connectivity (#4889) (diff)
downloadcuberite-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
Diffstat (limited to '')
-rw-r--r--src/Defines.cpp2
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"},