diff options
author | madmaxoft <github@xoft.cz> | 2014-03-12 13:11:34 +0100 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-03-12 13:11:34 +0100 |
commit | a7f9df24d4537a0c7567fa5bbc9e62bb4ef16e56 (patch) | |
tree | 8f9e3db60edda1a076d61e9fa7d88be09fa5b3cb /src/Bindings | |
parent | Moved Lua API registering into a separate function. (diff) | |
download | cuberite-a7f9df24d4537a0c7567fa5bbc9e62bb4ef16e56.tar cuberite-a7f9df24d4537a0c7567fa5bbc9e62bb4ef16e56.tar.gz cuberite-a7f9df24d4537a0c7567fa5bbc9e62bb4ef16e56.tar.bz2 cuberite-a7f9df24d4537a0c7567fa5bbc9e62bb4ef16e56.tar.lz cuberite-a7f9df24d4537a0c7567fa5bbc9e62bb4ef16e56.tar.xz cuberite-a7f9df24d4537a0c7567fa5bbc9e62bb4ef16e56.tar.zst cuberite-a7f9df24d4537a0c7567fa5bbc9e62bb4ef16e56.zip |
Diffstat (limited to 'src/Bindings')
-rw-r--r-- | src/Bindings/PluginManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Bindings/PluginManager.cpp b/src/Bindings/PluginManager.cpp index c7df6357e..b9cf160c4 100644 --- a/src/Bindings/PluginManager.cpp +++ b/src/Bindings/PluginManager.cpp @@ -248,7 +248,7 @@ bool cPluginManager::CallHookChat(cPlayer * a_Player, AString & a_Message) { AStringVector Split(StringSplit(a_Message, " ")); ASSERT(!Split.empty()); // This should not happen - we know there's at least one char in the message so the split needs to be at least one item long - a_Player->SendMessageInfo(Printf("Unknown command: \"%s\"", Split[0].c_str())); + a_Player->SendMessageInfo(Printf("Unknown command: \"%s\"", a_Message.c_str())); LOGINFO("Player %s issued an unknown command: \"%s\"", a_Player->GetName().c_str(), a_Message.c_str()); return true; // Cancel sending } |