Added Protected Require

This commit is contained in:
Unknown
2018-01-05 14:00:58 +00:00
parent b1bfee8549
commit bcfefe3ad7

View File

@@ -7,6 +7,12 @@ Any changes that you may make to the code are yours but that does not make the s
Discord: https://discord.gg/r6dC2uK
]]
--Please Only Edit Below This Line-----------------------------------------------------------
local return_err = true
local _require = require
local function require(path)
local success, err = pcall(_require,path)
if not success and return_err then error(err) end
end
-- this file will just contain all the diffrent requires
require('colours')
require('health')