diff options
author | Mattes D <github@xoft.cz> | 2021-04-12 10:12:03 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@outlook.com> | 2021-04-12 15:09:52 +0200 |
commit | 0137e71f6b56f0333b120f807e6d791b6b29aa4b (patch) | |
tree | 8240374fdcbd35356aacfe0f92ec8602865e8ac5 /src/BlockEntities/CommandBlockEntity.cpp | |
parent | Update the minimodules (diff) | |
download | cuberite-0137e71f6b56f0333b120f807e6d791b6b29aa4b.tar cuberite-0137e71f6b56f0333b120f807e6d791b6b29aa4b.tar.gz cuberite-0137e71f6b56f0333b120f807e6d791b6b29aa4b.tar.bz2 cuberite-0137e71f6b56f0333b120f807e6d791b6b29aa4b.tar.lz cuberite-0137e71f6b56f0333b120f807e6d791b6b29aa4b.tar.xz cuberite-0137e71f6b56f0333b120f807e6d791b6b29aa4b.tar.zst cuberite-0137e71f6b56f0333b120f807e6d791b6b29aa4b.zip |
Diffstat (limited to '')
-rw-r--r-- | src/BlockEntities/CommandBlockEntity.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/BlockEntities/CommandBlockEntity.cpp b/src/BlockEntities/CommandBlockEntity.cpp index 34b0fd5f5..b747501c8 100644 --- a/src/BlockEntities/CommandBlockEntity.cpp +++ b/src/BlockEntities/CommandBlockEntity.cpp @@ -166,7 +166,7 @@ void cCommandBlockEntity::Execute() public: CommandBlockOutCb(cCommandBlockEntity * a_CmdBlock) : m_CmdBlock(a_CmdBlock) {} - virtual void Out(const AString & a_Text) + virtual void Out(const AString & a_Text) override { // Overwrite field m_CmdBlock->SetLastOutput(cClientHandle::FormatChatPrefix(m_CmdBlock->GetWorld()->ShouldUseChatPrefixes(), "SUCCESS", cChatColor::Green, cChatColor::White) + a_Text); |