SteamWar/BungeeCore
Archiviert
13
2

Fix PR things
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Dieser Commit ist enthalten in:
yoyosource 2024-08-03 13:22:27 +02:00
Ursprung 8538a09a86
Commit 883c9131b5
2 geänderte Dateien mit 2 neuen und 4 gelöschten Zeilen

Datei anzeigen

@ -20,19 +20,18 @@
package de.steamwar.velocitycore.network.handlers; package de.steamwar.velocitycore.network.handlers;
import com.velocitypowered.api.proxy.Player; import com.velocitypowered.api.proxy.Player;
import de.steamwar.velocitycore.ArenaMode;
import de.steamwar.velocitycore.VelocityCore;
import de.steamwar.network.packets.PacketHandler; import de.steamwar.network.packets.PacketHandler;
import de.steamwar.network.packets.common.FightEndsPacket; import de.steamwar.network.packets.common.FightEndsPacket;
import de.steamwar.sql.SchematicType; import de.steamwar.sql.SchematicType;
import de.steamwar.sql.SteamwarUser; import de.steamwar.sql.SteamwarUser;
import de.steamwar.sql.UserElo; import de.steamwar.sql.UserElo;
import de.steamwar.velocitycore.ArenaMode;
import de.steamwar.velocitycore.VelocityCore;
import lombok.RequiredArgsConstructor; import lombok.RequiredArgsConstructor;
import net.kyori.adventure.text.Component; import net.kyori.adventure.text.Component;
import net.kyori.adventure.text.serializer.legacy.LegacyComponentSerializer; import net.kyori.adventure.text.serializer.legacy.LegacyComponentSerializer;
import net.kyori.adventure.title.Title; import net.kyori.adventure.title.Title;
import javax.xml.validation.Schema;
import java.time.Duration; import java.time.Duration;
import java.util.*; import java.util.*;
import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeUnit;

Datei anzeigen

@ -44,7 +44,6 @@ public class EloSchemHandler extends PacketHandler {
SchematicType type = SchematicType.fromDB(fightEndsPacket.getGameMode()); SchematicType type = SchematicType.fromDB(fightEndsPacket.getGameMode());
if (type == null) return; if (type == null) return;
ArenaMode arenaMode = ArenaMode.getBySchemType(type); ArenaMode arenaMode = ArenaMode.getBySchemType(type);
if (arenaMode == null) return;
if (!arenaMode.isRanked()) return; if (!arenaMode.isRanked()) return;
if (publicVsPrivate(fightEndsPacket)) if (publicVsPrivate(fightEndsPacket))