diff options
author | Mattes D <github@xoft.cz> | 2017-01-23 17:43:48 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2017-01-28 10:31:04 +0100 |
commit | 01d9beee9ee60aa1ead52f7796c762a8372b9ca4 (patch) | |
tree | 6843b3231de64ffff73da0db34b12253a2b32f30 /Server/Plugins/Debuggers/Debuggers.lua | |
parent | Fixed ClientHandle:GetProtocolVersion returning wrong number. (diff) | |
download | cuberite-01d9beee9ee60aa1ead52f7796c762a8372b9ca4.tar cuberite-01d9beee9ee60aa1ead52f7796c762a8372b9ca4.tar.gz cuberite-01d9beee9ee60aa1ead52f7796c762a8372b9ca4.tar.bz2 cuberite-01d9beee9ee60aa1ead52f7796c762a8372b9ca4.tar.lz cuberite-01d9beee9ee60aa1ead52f7796c762a8372b9ca4.tar.xz cuberite-01d9beee9ee60aa1ead52f7796c762a8372b9ca4.tar.zst cuberite-01d9beee9ee60aa1ead52f7796c762a8372b9ca4.zip |
Diffstat (limited to 'Server/Plugins/Debuggers/Debuggers.lua')
-rw-r--r-- | Server/Plugins/Debuggers/Debuggers.lua | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Server/Plugins/Debuggers/Debuggers.lua b/Server/Plugins/Debuggers/Debuggers.lua index c433148ca..2b9ed1bf0 100644 --- a/Server/Plugins/Debuggers/Debuggers.lua +++ b/Server/Plugins/Debuggers/Debuggers.lua @@ -1567,6 +1567,15 @@ end +function HandleClientVersionCmd(a_Split, a_Player) + a_Player:SendMessage("Your client version number is " .. a_Player:GetClientHandle():GetProtocolVersion() ..".") + return true +end + + + + + function HandleCompo(a_Split, a_Player) -- Send one composite message to self: local msg = cCompositeChat() |