Your code for altering spyblock is not reachable because of
if (cmd.getName().equalsIgnoreCase("spyblocks")) {
**return true;**
if (Main.spyblock == true) {
Main.spyblock = false;
}
else {
Main.spyblock = true;
}
}
highlighted line. just move this like
if (cmd.getName().equalsIgnoreCase("spyblocks")) {
if (Main.spyblock == true) {
Main.spyblock = false;
}
else {
Main.spyblock = true;
}
**return true;**
}
Hope this helps