Add BaseCommandBlock::getCommand

This commit is contained in:
Qiuzhizhe 2022-10-27 10:32:49 +08:00
parent f409348f4d
commit bc26dccc70
No known key found for this signature in database
GPG Key ID: 4EF4BF5521540263

View File

@ -10,7 +10,11 @@
class BaseCommandBlock {
#define AFTER_EXTRA
public:
inline std::string const & getCommand() const{
//BaseCommandBlock::_setCommand a4 is Command;
return dAccess<std::string>(this,56);
};
#undef AFTER_EXTRA
#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BASECOMMANDBLOCK
public: