Compare commits

...

3 Commits

Author SHA1 Message Date
95f0121666 commiit 2025-02-21 22:35:08 +01:00
8141b70e37 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	target/WolfFFA-1.0.jar
#	target/original-WolfFFA-1.0.jar
2025-02-21 22:34:59 +01:00
df354a38d7 commiit 2025-02-21 22:34:29 +01:00
10 changed files with 5 additions and 13 deletions

View File

@@ -206,6 +206,9 @@ public class EditKitCommand implements CommandExecutor, TabCompleter {
@Override
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();
}
}

View File

@@ -153,12 +153,9 @@ public class TpToFfaCommand implements CommandExecutor, TabCompleter {
@Override
public @Nullable List<String> onTabComplete(@NotNull CommandSender cmds, @NotNull Command command, @NotNull String s, @NotNull String[] args) {
if (args.length == 1) {
List.of("sword", "uhc");
return List.of("sword", "uhc");
} else if (args.length == 2) {
List<String> playerNames = new ArrayList<>();
for (Player onlinePlayer : Bukkit.getOnlinePlayers()) {
playerNames.add(onlinePlayer.getName());
}
return null;
}
return List.of();
}

View File

@@ -1,6 +0,0 @@
package hu.jgj52.wolfFFA.Managers;
public class FileManager {
}

Binary file not shown.

View File

@@ -2,4 +2,3 @@ hu/jgj52/wolfFFA/Commands/TpToFfaCommand.class
hu/jgj52/wolfFFA/Commands/EditKitCommand.class
hu/jgj52/wolfFFA/Main.class
hu/jgj52/wolfFFA/Listeners/KitListener.class
hu/jgj52/wolfFFA/Managers/FileManager.class

View File

@@ -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/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/Managers/FileManager.java

Binary file not shown.