• Hello Guest! Did you know that ProjectKorra has an official Discord server? A lot of discussion about the official server, development process, and community discussion happens over there. Feel free to join now by clicking the link below.

    Join the Discord Server

Weekly Update 15/11/15

Simplicitee

Staff member
Plugin Developer
Verified Member
And those who typed just
Code:
Bending [inserttwosymbols] probendin
will also get the error, as there is no statement for the program to display.
You don't have to have a numerical value to use == or !=, but you do need one in your case because probending as a plugin will not be less than normal bending.
 

Finn_Bueno_

Staff member
Plugin Developer
Verified Member
You don't have to have a numerical value to use == or !=, but you do need one in your case because probending as a plugin will not be less than normal bending.
Code:
Plugin probending = Bukkit.getPlugin("probending");
if (probending == null) {
System.out.println("Probending isn't installed.");
} else if (probending.getDescription().getDepend() != null && probending.getDescription().getDepend().contains("ProjectKorra")) {
System.out.println("Yup probending is a sub plugin of PK");
} else {
System.out.println("not a sub plugin of PK.");
}
Now shush.
 

HydroMan

Verified Member
You don't have to have a numerical value to use == or !=, but you do need one in your case because probending as a plugin will not be less than normal bending.
Jeez... Does it matter? Strange didn't add the reason to his condition - why it suppose to be not equal? And now you wanna harass me with me not doing a small particular thing (that Strange himself didn't apply to his)?
 
Top