mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-02-11 00:20:05 +00:00
Merge pull request #794 from MCJack123/patch-7
Add the ability to call `cc.expect` directly
This commit is contained in:
commit
b21866fbff
@ -114,8 +114,8 @@ local function range(num, min, max)
|
||||
return num
|
||||
end
|
||||
|
||||
return {
|
||||
return setmetatable({
|
||||
expect = expect,
|
||||
field = field,
|
||||
range = range,
|
||||
}
|
||||
}, { __call = function(_, ...) return expect(...) end })
|
||||
|
Loading…
x
Reference in New Issue
Block a user