geforkt von SteamWar/BungeeCore
Hotfix BauCommand testarena random map
Dieser Commit ist enthalten in:
Ursprung
37f32033db
Commit
31253f284f
@ -1 +1 @@
|
||||
Subproject commit 746ae701d8abf1534de14b57ae650ac76e9c4d9d
|
||||
Subproject commit 441661a8f59775032a95abe463ed1e03189fc570
|
@ -286,7 +286,7 @@ public class BauCommand extends SWCommand {
|
||||
@Register("testarena")
|
||||
public void testarena(ProxiedPlayer p, @Mapper("nonHistoricArenaMode") @OptionalValue("") @AllowNull ArenaMode arenaMode, @Mapper("arenaMap") @OptionalValue("") @AllowNull String map) {
|
||||
FightCommand.createArena(p, "/bau testarena ", false, arenaMode, map, false, (player, mode, m) -> {
|
||||
ProxyServer.getInstance().getScheduler().runAsync(BungeeCore.get(), () -> new ServerStarter().test(mode, map, p).start());
|
||||
ProxyServer.getInstance().getScheduler().runAsync(BungeeCore.get(), () -> new ServerStarter().test(mode, m, p).start());
|
||||
});
|
||||
}
|
||||
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren