summaryrefslogtreecommitdiffstats
path: root/src/BlockEntities/CommandBlockEntity.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2021-04-12 10:12:03 +0200
committerTiger Wang <ziwei.tiger@outlook.com>2021-04-12 15:09:52 +0200
commit0137e71f6b56f0333b120f807e6d791b6b29aa4b (patch)
tree8240374fdcbd35356aacfe0f92ec8602865e8ac5 /src/BlockEntities/CommandBlockEntity.cpp
parentUpdate the minimodules (diff)
downloadcuberite-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 'src/BlockEntities/CommandBlockEntity.cpp')
-rw-r--r--src/BlockEntities/CommandBlockEntity.cpp2
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);