Fixed some bugs in ExpGamingCore.Group

This commit is contained in:
Cooldude2606
2018-09-19 22:51:19 +01:00
parent 978abf2ec1
commit baa07a8da6
4 changed files with 48 additions and 10 deletions

View File

@@ -85,7 +85,7 @@ end
-- @tparam string prototype_name the name of the class
-- @tparam string function_name the name of the function
function ExpLib.self_test(self,prototype_name,function_name)
return ExpLib.is_type(value,'table') or error('Call to prototype without context, either supply a '..prototype_name..' or use '..prototype_name..':'..function_name,3)
return ExpLib.is_type(self,'table') or error('Call to prototype without context, either supply a '..prototype_name..' or use '..prototype_name..':'..function_name,3)
end
--- Will return a value of any type to the player/server console, allows colour for in-game players