TriggerReactor

TriggerReactor

24.6k Downloads

support class comparison at javascript validation system.

son-daehyeon opened this issue ยท 1 comments

commented

example:

const Entity = Java.type('org.bukkit.entity.Entity')

validation = {
    "overloads": [
        [
            {
                "type": Entity,
                "name": "entity"
            }
        ]
    ]
}

function TEST(args) {
    ...
}
commented

I'll open it again soon.
This is because it seems to be a class comparison in version 3.3.0.2.