mirror of
https://github.com/darksaid98/AlathranWars.git
synced 2026-12-03 06:28:51 +00:00
Merge branch 'main' into aubri-test-raiding
This commit is contained in:
8 files changed
+20
-8
No files matched your search
@@ -19,6 +19,15 @@ import org.bukkit.entity.Player;
|
||||
import java.util.ArrayList;
|
||||
|
||||
public class RaidCommands implements CommandExecutor {
|
||||
public static ArrayList<Town> towns;
|
||||
public static ArrayList<Raid> raids;
|
||||
public static int maxID;
|
||||
|
||||
static {
|
||||
RaidCommands.towns = new ArrayList<Town>();
|
||||
RaidCommands.raids = new ArrayList<Raid>();
|
||||
}
|
||||
|
||||
public RaidCommands(final Main plugin) {
|
||||
//plugin.getCommand("raid").setExecutor((CommandExecutor)this);
|
||||
}
|
||||
|
||||
@@ -21,6 +21,7 @@ public class RaidTabCompletion implements TabCompleter {
|
||||
public List<String> onTabComplete(CommandSender sender, Command cmd, String label, String[] args) {
|
||||
List<String> completions = new ArrayList<>();
|
||||
Player p = (Player)sender;
|
||||
/*
|
||||
if (args.length == 1) {
|
||||
if (p.hasPermission("AlathraWar.admin")) {
|
||||
completions.add("stop");
|
||||
@@ -100,6 +101,7 @@ public class RaidTabCompletion implements TabCompleter {
|
||||
}
|
||||
}
|
||||
}
|
||||
*/
|
||||
return Collections.emptyList();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user