summaryrefslogtreecommitdiffstats
path: root/src/BlockEntities
diff options
context:
space:
mode:
authorandrew <xdotftw@gmail.com>2014-01-18 18:58:46 +0100
committerandrew <xdotftw@gmail.com>2014-01-18 18:58:46 +0100
commit02c9aa2b1e86974df4ef8ea152465719169bdac5 (patch)
treef5e8ba8560b0939e4f3bfb0fefd9e4e5e55262e2 /src/BlockEntities
parentCommand blocks: Execute() (diff)
downloadcuberite-02c9aa2b1e86974df4ef8ea152465719169bdac5.tar
cuberite-02c9aa2b1e86974df4ef8ea152465719169bdac5.tar.gz
cuberite-02c9aa2b1e86974df4ef8ea152465719169bdac5.tar.bz2
cuberite-02c9aa2b1e86974df4ef8ea152465719169bdac5.tar.lz
cuberite-02c9aa2b1e86974df4ef8ea152465719169bdac5.tar.xz
cuberite-02c9aa2b1e86974df4ef8ea152465719169bdac5.tar.zst
cuberite-02c9aa2b1e86974df4ef8ea152465719169bdac5.zip
Diffstat (limited to '')
-rw-r--r--src/BlockEntities/CommandBlockEntity.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/BlockEntities/CommandBlockEntity.cpp b/src/BlockEntities/CommandBlockEntity.cpp
index e70e259aa..c29e3dff8 100644
--- a/src/BlockEntities/CommandBlockEntity.cpp
+++ b/src/BlockEntities/CommandBlockEntity.cpp
@@ -212,6 +212,8 @@ void cCommandBlockEntity::Execute()
}
} CmdBlockOutCb(this);
+ LOGD("cCommandBlockEntity: Executing command %s", m_Command.c_str());
+
cServer* Server = cRoot::Get()->GetServer();
Server->ExecuteConsoleCommand(m_Command, CmdBlockOutCb);