geforkt von SteamWar/BungeeCore
Merge branch 'only_one_map_bypass' of SteamWar/BungeeCore into master
Dieser Commit ist enthalten in:
Commit
9ec37f9e8a
@ -119,12 +119,16 @@ public class FightCommand extends BasicCommand {
|
||||
if(mode == null)
|
||||
return;
|
||||
|
||||
if(args.length < startArg+2){
|
||||
String map;
|
||||
if(mode.getMaps().size() == 1){
|
||||
map = mode.getRandomMap();
|
||||
}else if(args.length < startArg+2){
|
||||
getMaps(sender, precommand, mode);
|
||||
return;
|
||||
}else{
|
||||
map = getMap(sender, mode, args[startArg+1]);
|
||||
}
|
||||
|
||||
String map = getMap(sender, mode, args[startArg+1]);
|
||||
if(map == null)
|
||||
return;
|
||||
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren