Compare commits
3 Commits
f07c77646e
...
95f0121666
| Author | SHA1 | Date | |
|---|---|---|---|
| 95f0121666 | |||
| 8141b70e37 | |||
| df354a38d7 |
@@ -206,6 +206,9 @@ public class EditKitCommand implements CommandExecutor, TabCompleter {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public @Nullable List<String> onTabComplete(@NotNull CommandSender cmds, @NotNull Command command, @NotNull String s, @NotNull String[] args) {
|
public @Nullable List<String> onTabComplete(@NotNull CommandSender cmds, @NotNull Command command, @NotNull String s, @NotNull String[] args) {
|
||||||
|
if (args.length == 1) {
|
||||||
|
return List.of("sword", "uhc");
|
||||||
|
}
|
||||||
return List.of();
|
return List.of();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -153,12 +153,9 @@ public class TpToFfaCommand implements CommandExecutor, TabCompleter {
|
|||||||
@Override
|
@Override
|
||||||
public @Nullable List<String> onTabComplete(@NotNull CommandSender cmds, @NotNull Command command, @NotNull String s, @NotNull String[] args) {
|
public @Nullable List<String> onTabComplete(@NotNull CommandSender cmds, @NotNull Command command, @NotNull String s, @NotNull String[] args) {
|
||||||
if (args.length == 1) {
|
if (args.length == 1) {
|
||||||
List.of("sword", "uhc");
|
return List.of("sword", "uhc");
|
||||||
} else if (args.length == 2) {
|
} else if (args.length == 2) {
|
||||||
List<String> playerNames = new ArrayList<>();
|
return null;
|
||||||
for (Player onlinePlayer : Bukkit.getOnlinePlayers()) {
|
|
||||||
playerNames.add(onlinePlayer.getName());
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
return List.of();
|
return List.of();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +0,0 @@
|
|||||||
package hu.jgj52.wolfFFA.Managers;
|
|
||||||
|
|
||||||
public class FileManager {
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -2,4 +2,3 @@ hu/jgj52/wolfFFA/Commands/TpToFfaCommand.class
|
|||||||
hu/jgj52/wolfFFA/Commands/EditKitCommand.class
|
hu/jgj52/wolfFFA/Commands/EditKitCommand.class
|
||||||
hu/jgj52/wolfFFA/Main.class
|
hu/jgj52/wolfFFA/Main.class
|
||||||
hu/jgj52/wolfFFA/Listeners/KitListener.class
|
hu/jgj52/wolfFFA/Listeners/KitListener.class
|
||||||
hu/jgj52/wolfFFA/Managers/FileManager.class
|
|
||||||
|
|||||||
@@ -2,4 +2,3 @@
|
|||||||
/home/jgj52/IdeaProjects/WolfFFA/src/main/java/hu/jgj52/wolfFFA/Commands/TpToFfaCommand.java
|
/home/jgj52/IdeaProjects/WolfFFA/src/main/java/hu/jgj52/wolfFFA/Commands/TpToFfaCommand.java
|
||||||
/home/jgj52/IdeaProjects/WolfFFA/src/main/java/hu/jgj52/wolfFFA/Listeners/KitListener.java
|
/home/jgj52/IdeaProjects/WolfFFA/src/main/java/hu/jgj52/wolfFFA/Listeners/KitListener.java
|
||||||
/home/jgj52/IdeaProjects/WolfFFA/src/main/java/hu/jgj52/wolfFFA/Main.java
|
/home/jgj52/IdeaProjects/WolfFFA/src/main/java/hu/jgj52/wolfFFA/Main.java
|
||||||
/home/jgj52/IdeaProjects/WolfFFA/src/main/java/hu/jgj52/wolfFFA/Managers/FileManager.java
|
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user