diff --git a/LiteLoader/Header/MC/BaseCommandBlock.hpp b/LiteLoader/Header/MC/BaseCommandBlock.hpp index a2a2a25..7460ff6 100644 --- a/LiteLoader/Header/MC/BaseCommandBlock.hpp +++ b/LiteLoader/Header/MC/BaseCommandBlock.hpp @@ -10,7 +10,11 @@ class BaseCommandBlock { #define AFTER_EXTRA - +public: + inline std::string const & getCommand() const{ + //BaseCommandBlock::_setCommand a4 is Command; + return dAccess(this,56); + }; #undef AFTER_EXTRA #ifndef DISABLE_CONSTRUCTOR_PREVENTION_BASECOMMANDBLOCK public: