File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ return {
24
24
interface = {
25
25
--- Interface version
26
26
-- @field [parent=#Crimes] #number version
27
- version = 1 ,
27
+ version = 2 ,
28
28
29
29
---
30
30
-- Commits a crime as if done through an in-game action. Can only be used in global context.
@@ -42,7 +42,7 @@ return {
42
42
" faction id passed to commitCrime must be a string or nil" )
43
43
assert (type (options .arg ) == " number" or options .arg == nil ,
44
44
" arg value passed to commitCrime must be a number or nil" )
45
- assert (type (options .victimAware ) == " number " or options .victimAware == nil ,
45
+ assert (type (options .victimAware ) == " boolean " or options .victimAware == nil ,
46
46
" victimAware value passed to commitCrime must be a boolean or nil" )
47
47
48
48
assert (options .type ~= nil , " crime type passed to commitCrime cannot be nil" )
You can’t perform that action at this time.
0 commit comments