diff options
author | Tiger Wang <ziwei.tiger@outlook.com> | 2020-07-23 01:34:43 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@outlook.com> | 2020-09-05 14:16:52 +0200 |
commit | 1bc12ba2b3bc2c4fbe8fad4797cf33266eb13f4b (patch) | |
tree | ea7f02576728ac4143707b0af3829ae843bde041 /src/BlockEntities/CommandBlockEntity.cpp | |
parent | Rename AddEntityIfNotPresent to AddPlayer (diff) | |
download | cuberite-1bc12ba2b3bc2c4fbe8fad4797cf33266eb13f4b.tar cuberite-1bc12ba2b3bc2c4fbe8fad4797cf33266eb13f4b.tar.gz cuberite-1bc12ba2b3bc2c4fbe8fad4797cf33266eb13f4b.tar.bz2 cuberite-1bc12ba2b3bc2c4fbe8fad4797cf33266eb13f4b.tar.lz cuberite-1bc12ba2b3bc2c4fbe8fad4797cf33266eb13f4b.tar.xz cuberite-1bc12ba2b3bc2c4fbe8fad4797cf33266eb13f4b.tar.zst cuberite-1bc12ba2b3bc2c4fbe8fad4797cf33266eb13f4b.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 ad78c4ea3..6cc83ff68 100644 --- a/src/BlockEntities/CommandBlockEntity.cpp +++ b/src/BlockEntities/CommandBlockEntity.cpp @@ -203,7 +203,7 @@ void cCommandBlockEntity::Execute() { cServer * Server = cRoot::Get()->GetServer(); LOGD("cCommandBlockEntity: Executing command %s", m_Command.c_str()); - Server->ExecuteConsoleCommand(RealCommand, CmdBlockOutCb); + Server->QueueExecuteConsoleCommand(RealCommand, CmdBlockOutCb); } else { |