SteamWar/BungeeCore
Archiviert
13
2

Fix tp
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Lixfel 2022-04-08 13:12:00 +02:00
Ursprung f097d97554
Commit 4f6bf71f82

Datei anzeigen

@ -90,7 +90,8 @@ public class TpCommand extends BasicCommand {
return false;
// Check if player is allowed to join fights
if (Subserver.getSubserver(server).getType() == Servertype.ARENA) {
Subserver subserver = Subserver.getSubserver(server);
if (subserver != null && subserver.getType() == Servertype.ARENA) {
SteamwarUser steamwarUser = SteamwarUser.get(player);
if (steamwarUser.isPunishedWithMessage(player, Punishment.PunishmentType.NoFightServer)) {
return true;