Refactored code to make subcommands #23

Merged
alisolarflare merged 6 commits from Refactoring into master 2016-12-17 07:43:27 +00:00
Showing only changes of commit 83ecead887 - Show all commits

View file

@ -15,7 +15,8 @@ public class AliLinkComponent extends Component {
@Override @Override
public void register(JavaPlugin plugin) { public void register(JavaPlugin plugin) {
registerCommand(p = plugin, new Press()); p = plugin;
registerCommand(plugin, new Press());
registerCommand(plugin, new Set()); registerCommand(plugin, new Set());
} }
} }