geforkt von SteamWar/BungeeCore
No Arena start in an Arena anymore
Dieser Commit ist enthalten in:
Ursprung
902c4bb63a
Commit
15df6459ae
@ -31,8 +31,15 @@ public class FightCommand extends Command {
|
||||
sender.sendMessage(BungeeCore.ChatPrefix + "/fight MiniWarGear §8- §7Starte einen §6MiniWarGear§8-§7Kampf§8!");
|
||||
return;
|
||||
}
|
||||
|
||||
if(sender instanceof ProxiedPlayer){
|
||||
ProxiedPlayer player = (ProxiedPlayer) sender;
|
||||
|
||||
if(ArenaSystem.inArena(player)){
|
||||
sender.sendMessage(BungeeCore.ChatPrefix + "§cDu befindest dich bereits in einer Arena.");
|
||||
return;
|
||||
}
|
||||
|
||||
Arena arena;
|
||||
switch(args[0].toLowerCase()){
|
||||
case "as":
|
||||
@ -77,7 +84,6 @@ public class FightCommand extends Command {
|
||||
gamemodes.add("MiniWarGear");
|
||||
gamemodes.add("MWG");
|
||||
}
|
||||
System.out.println(args);
|
||||
return gamemodes;
|
||||
}
|
||||
}
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren