No more errors made my me, they're all yours :)

This commit is contained in:
sauilitired
2015-07-27 00:26:19 +02:00
parent a41925117f
commit 6df9024ff1
30 changed files with 479 additions and 579 deletions

View File

@ -609,11 +609,14 @@ import com.intellectualcrafters.plot.uuid.UUIDWrapper;
*
* @param c SubCommand, that we want to register
*
* @see com.intellectualcrafters.plot.commands.MainCommand#subCommands
* @see com.intellectualcrafters.plot.commands.SubCommand
*/
public void registerCommand(final SubCommand c) {
MainCommand.subCommands.add(c);
if (c.getCommand() != null) {
MainCommand.instance.addCommand(c);
} else {
MainCommand.instance.createCommand(c);
}
}
/**