geforkt von SteamWar/BungeeCore
Hotfix tp-blocker and automatic check start
Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Ursprung
445bbc6824
Commit
b7938d9456
@ -201,6 +201,8 @@ public class CheckCommand extends BasicCommand {
|
||||
ArenaMode mode = ArenaMode.getByCheckSchemType(schematic.getSchemType().toDB());
|
||||
SubserverSystem.sendToTestServer(checker, mode, FightCommand.getMap(checker, mode, "Random"), schematic.getSchemID());
|
||||
});
|
||||
|
||||
next();
|
||||
}
|
||||
|
||||
private void next() {
|
||||
|
@ -39,9 +39,6 @@ public class JoinmeCommand extends BasicCommand {
|
||||
}else if(target.equals(player)){
|
||||
BungeeCore.send(player, BungeeCore.CHAT_PREFIX + "§cSei eins mit dir selbst!");
|
||||
return;
|
||||
}else if(CheckCommand.isChecking(player)){
|
||||
BungeeCore.send(player, BungeeCore.CHAT_PREFIX + "§cDu prüfst gerade eine Schematic!");
|
||||
return;
|
||||
}
|
||||
ServerInfo server = target.getServer().getInfo();
|
||||
String serverPerm = BungeeCore.serverPermissions.get(server.getName());
|
||||
|
@ -52,6 +52,9 @@ public class TpCommand extends BasicCommand {
|
||||
else
|
||||
BungeeCore.send(player, BungeeCore.CHAT_PREFIX + "§8/§etp §8[§7Spieler §8oder §7Team§8]");
|
||||
return true;
|
||||
}else if(CheckCommand.isChecking(player)){
|
||||
BungeeCore.send(player, BungeeCore.CHAT_PREFIX + "§cDu prüfst gerade eine Schematic!");
|
||||
return false;
|
||||
}
|
||||
|
||||
//Get target player server
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren