summaryrefslogtreecommitdiffstats
path: root/MCServer/Plugins/Core/onjoinleave.lua
diff options
context:
space:
mode:
authorAlexander Harkness <bearbin@gmail.com>2013-08-10 17:18:53 +0200
committerAlexander Harkness <bearbin@gmail.com>2013-08-10 17:18:53 +0200
commit44cbb1c011b1e3939a45c4746b21ba2cc004f142 (patch)
tree0043955ada65f2f371087cd98a5ab1d027e9d760 /MCServer/Plugins/Core/onjoinleave.lua
parentMerge all the latest stuff from Core. (diff)
downloadcuberite-44cbb1c011b1e3939a45c4746b21ba2cc004f142.tar
cuberite-44cbb1c011b1e3939a45c4746b21ba2cc004f142.tar.gz
cuberite-44cbb1c011b1e3939a45c4746b21ba2cc004f142.tar.bz2
cuberite-44cbb1c011b1e3939a45c4746b21ba2cc004f142.tar.lz
cuberite-44cbb1c011b1e3939a45c4746b21ba2cc004f142.tar.xz
cuberite-44cbb1c011b1e3939a45c4746b21ba2cc004f142.tar.zst
cuberite-44cbb1c011b1e3939a45c4746b21ba2cc004f142.zip
Diffstat (limited to '')
-rw-r--r--MCServer/Plugins/Core/onjoinleave.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/MCServer/Plugins/Core/onjoinleave.lua b/MCServer/Plugins/Core/onjoinleave.lua
index 372f6af47..49a501cb7 100644
--- a/MCServer/Plugins/Core/onjoinleave.lua
+++ b/MCServer/Plugins/Core/onjoinleave.lua
@@ -19,4 +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
end \ No newline at end of file