command predicates: added support for strict matching by appending '!' on string predicates

This commit is contained in:
jgmdev committed 2022-05-15 16:10:57 -04:00
1 parent 0a66163c10
commit 4d3e8d8bd0
2 files changed
+17 -9

No files matched your search

+1 -4
View File
@@ -21,10 +21,7 @@ end
function Object:is(T)
if getmetatable(self) == T then
return true
end
return false
return getmetatable(self) == T
end