Hi,
I'm having a problem with adding commands to my server.
I tried to edit existing commands inside the PlayerCommands.java, add a new command to the file,
I added the command to Commands.java too, and yet - no success.
I'm using ZenthosDevV83 if it matters.
Example for the simplest command that won't let me edit it:
I'm having a problem with adding commands to my server.
I tried to edit existing commands inside the PlayerCommands.java, add a new command to the file,
I added the command to Commands.java too, and yet - no success.
I'm using ZenthosDevV83 if it matters.
Example for the simplest command that won't let me edit it:
PHP:
else if (command.equals("expfix")) {
player.msg("Hello");
}
// It won't write Hello in the chat, it executes the original command which resets the character xp.