So i am trying to grab a variable in my java code and i wanna check if it is set.
I just found this thread:
https://forums.skunity.com/threads/how-get-skript-variable.459/
Which was really helpfull but i never really worked with java before so how would i use / call this function?
This is what i am trying to achieve:
I just found this thread:
https://forums.skunity.com/threads/how-get-skript-variable.459/
Which was really helpfull but i never really worked with java before so how would i use / call this function?
This is what i am trying to achieve:
Java:
public void onInteract(PlayerInteractEvent event) {
#if {test::lol::%player%} is set{
#Do stuff
}
}
Last edited: