1

Redacted

myoldpast5 3/3/14 3:31 pm history
343
3/5/2014 2:39 pm
redacted
Posted by
myoldpast5
Level 1 : New Miner
0

  Have something to say?

JoinSign in

3

spires33
03/05/2014 2:39 pm
Level 35 : Artisan Dwarf
i cant solve it yet but i sm really exited that i can read it cuz im learning coding :3
1
myoldpast5
03/05/2014 2:24 pm
Level 1 : New Miner
Solved, thanks
1
LowFat
03/03/2014 9:12 pm
Level 3 : Apprentice Network
The reason why is you only use onCommand once, and add multiple commands to it

For example

public boolean onCommand(CommandSender sender, blah blah blah) {
if (sender instanceof player) {
if(cmd.getName().equalsIgnoreCase("hhub")){
//DO YOUR STUFF HERE
} else if (cmd.getName().equalsIgnoreCase("hserver") {
//DO NEXT COMMAND HERE
}
}
}

Hope I helped
1

Welcome