diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-06-10 14:41:05 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-06-10 14:41:05 +0200 |
commit | e3713be4519b038be57e3a1d444254c6b00cba56 (patch) | |
tree | b589a7be581316d7cd7e3c6b489cacf7145fd565 /MCServer/Plugins/ProtectionAreas/HookHandlers.lua | |
parent | ProtectionAreas: Implemented reloading areas when a player moves (diff) | |
download | cuberite-e3713be4519b038be57e3a1d444254c6b00cba56.tar cuberite-e3713be4519b038be57e3a1d444254c6b00cba56.tar.gz cuberite-e3713be4519b038be57e3a1d444254c6b00cba56.tar.bz2 cuberite-e3713be4519b038be57e3a1d444254c6b00cba56.tar.lz cuberite-e3713be4519b038be57e3a1d444254c6b00cba56.tar.xz cuberite-e3713be4519b038be57e3a1d444254c6b00cba56.tar.zst cuberite-e3713be4519b038be57e3a1d444254c6b00cba56.zip |
Diffstat (limited to '')
-rw-r--r-- | MCServer/Plugins/ProtectionAreas/HookHandlers.lua | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/MCServer/Plugins/ProtectionAreas/HookHandlers.lua b/MCServer/Plugins/ProtectionAreas/HookHandlers.lua index 8869775f7..db552067c 100644 --- a/MCServer/Plugins/ProtectionAreas/HookHandlers.lua +++ b/MCServer/Plugins/ProtectionAreas/HookHandlers.lua @@ -23,7 +23,6 @@ end --- Called by MCS when a player's connectino is lost - either they disconnected or timed out
function OnDisconnect(a_Player, a_Reason)
-- Remove the player's cProtectionArea object
- -- TODO: What if there are two players with the same name? need to check
g_PlayerAreas[a_Player:GetUniqueID()] = nil;
-- If the player is a VIP, they had a command state, remove that as well
|