summaryrefslogtreecommitdiffstats
path: root/MCServer/Plugins/ProtectionAreas/HookHandlers.lua
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-05-26 21:57:12 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-05-26 21:57:12 +0200
commit976c33377ce41f326c91ccb9f0f241a2744f696c (patch)
tree0ae0478c1c4c009a81f8fc97964b22a167b054e4 /MCServer/Plugins/ProtectionAreas/HookHandlers.lua
parentProtectionAreas: missed 2 files (diff)
downloadcuberite-976c33377ce41f326c91ccb9f0f241a2744f696c.tar
cuberite-976c33377ce41f326c91ccb9f0f241a2744f696c.tar.gz
cuberite-976c33377ce41f326c91ccb9f0f241a2744f696c.tar.bz2
cuberite-976c33377ce41f326c91ccb9f0f241a2744f696c.tar.lz
cuberite-976c33377ce41f326c91ccb9f0f241a2744f696c.tar.xz
cuberite-976c33377ce41f326c91ccb9f0f241a2744f696c.tar.zst
cuberite-976c33377ce41f326c91ccb9f0f241a2744f696c.zip
Diffstat (limited to 'MCServer/Plugins/ProtectionAreas/HookHandlers.lua')
-rw-r--r--MCServer/Plugins/ProtectionAreas/HookHandlers.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/MCServer/Plugins/ProtectionAreas/HookHandlers.lua b/MCServer/Plugins/ProtectionAreas/HookHandlers.lua
index 21ac6ef4d..4f1e3755e 100644
--- a/MCServer/Plugins/ProtectionAreas/HookHandlers.lua
+++ b/MCServer/Plugins/ProtectionAreas/HookHandlers.lua
@@ -24,7 +24,7 @@ function OnDisconnect(a_Player, a_Reason)
g_PlayerAreas[a_Player:GetName()] = nil;
-- If the player is a VIP, they had a command state, remove that as well
- CommandStates[a_Player:GetUniqueID()] = nil;
+ g_CommandStates[a_Player:GetUniqueID()] = nil;
return false;
end;