[WIP] Command Targeting overhaul

This commit is contained in:
AnimeGitB
2022-05-04 16:02:09 +09:30
committed by Melledy
parent 4e0ebe56a6
commit 82ec63c4e4
41 changed files with 115 additions and 90 deletions

View File

@@ -13,7 +13,7 @@ import java.util.*;
public final class HelpCommand implements CommandHandler {
@Override
public void execute(Player player, List<String> args) {
public void execute(Player player, Player targetPlayer, List<String> args) {
if (args.size() < 1) {
HashMap<String, CommandHandler> handlers = CommandMap.getInstance().getHandlers();
List<Command> annotations = new ArrayList<>();