SteamWar/FightSystem
Archiviert
13
1
Signed-off-by: Yaruma3341 <yaruma3341@gmail.com>
Dieser Commit ist enthalten in:
Yaruma3341 2019-04-19 20:55:28 +02:00
Ursprung 38afa17293
Commit 95beb9d049

Datei anzeigen

@ -28,6 +28,8 @@ public class AkCommand implements CommandExecutor {
} }
Player player = (Player) sender; Player player = (Player) sender;
if(FightSystem.getPlugin().getFightState() == FightState.SETUP) {
if(args.length == 1) { if(args.length == 1) {
if(args[0].equalsIgnoreCase("help")) { if(args[0].equalsIgnoreCase("help")) {
@ -227,6 +229,8 @@ public class AkCommand implements CommandExecutor {
} else { } else {
sendHelp(player); sendHelp(player);
} }
} else
player.sendMessage(FightSystem.PREFIX + "§cDer Fight hat bereits begonnen!");
return false; return false;
} }