Fixed error with LuaPlayer.connected

This commit is contained in:
Cooldude2606 committed 2018-10-25 18:11:50 +01:00
1 parent 2af203a0b6
commit 4fe7ec3c0a
3 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -78,7 +78,7 @@ commands.validate = {
['player-online']=function(value,event)
local player,err = commands.validate['player'](value)
if err then return commands.error(err) end
local rtn = player.conected and player or nil
local rtn = player.connected and player or nil
if not rtn then return commands.error{'ExpGamingCore_Command.error-player-online'} end return rtn end,
['player-alive']=function(value,event)
local player,err = commands.validate['player-online'](value)