diff options
author | Alexander Harkness <bearbin@gmail.com> | 2013-08-10 18:05:51 +0200 |
---|---|---|
committer | Alexander Harkness <bearbin@gmail.com> | 2013-08-10 18:06:36 +0200 |
commit | 83eb5cf419cfb745fc9653c3642af553703e7ac3 (patch) | |
tree | 66f92ce798e1baedc7dbcc2df2182f0271dc0937 /MCServer/Plugins/Core/onjoinleave.lua | |
parent | Deleting cPlayer now does LOGD instead of LOG (diff) | |
download | cuberite-83eb5cf419cfb745fc9653c3642af553703e7ac3.tar cuberite-83eb5cf419cfb745fc9653c3642af553703e7ac3.tar.gz cuberite-83eb5cf419cfb745fc9653c3642af553703e7ac3.tar.bz2 cuberite-83eb5cf419cfb745fc9653c3642af553703e7ac3.tar.lz cuberite-83eb5cf419cfb745fc9653c3642af553703e7ac3.tar.xz cuberite-83eb5cf419cfb745fc9653c3642af553703e7ac3.tar.zst cuberite-83eb5cf419cfb745fc9653c3642af553703e7ac3.zip |
Diffstat (limited to '')
-rw-r--r-- | MCServer/Plugins/Core/onjoinleave.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MCServer/Plugins/Core/onjoinleave.lua b/MCServer/Plugins/Core/onjoinleave.lua index 20c1810d5..c794aaf94 100644 --- a/MCServer/Plugins/Core/onjoinleave.lua +++ b/MCServer/Plugins/Core/onjoinleave.lua @@ -19,6 +19,6 @@ end function OnDisconnect(Player, Reason) local Server = cRoot:Get():GetServer() Server:SendMessage(cChatColor.Yellow .. "[LEAVE] " .. cChatColor.White .. Player:GetName() .. " has left the game" ) - LOG("Player " .. Player .. " has left the game.") - return false + LOG("Player " .. Player:GetName() .. " has left the game.") + return true end
\ No newline at end of file |