1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-11-04 15:43:00 +00:00

Merge pull request #794 from MCJack123/patch-7

Add the ability to call `cc.expect` directly
This commit is contained in:
Jonathan Coates
2021-05-20 09:23:28 +01:00
committed by GitHub

View File

@@ -114,8 +114,8 @@ local function range(num, min, max)
return num return num
end end
return { return setmetatable({
expect = expect, expect = expect,
field = field, field = field,
range = range, range = range,
} }, { __call = function(_, ...) return expect(...) end })