diff --git a/LiteLoader/Header/MC/ActorDamageSource.hpp b/LiteLoader/Header/MC/ActorDamageSource.hpp index 387b6a5..b79b0e2 100644 --- a/LiteLoader/Header/MC/ActorDamageSource.hpp +++ b/LiteLoader/Header/MC/ActorDamageSource.hpp @@ -57,6 +57,10 @@ public: }; LIAPI Actor* getEntity(); + inline ActorDamageCause getCause() const{ + return this->mCause; + }; + #undef AFTER_EXTRA #ifndef DISABLE_CONSTRUCTOR_PREVENTION_ACTORDAMAGESOURCE public: