Fix build

This commit is contained in:
2025-07-13 18:15:24 +02:00
parent 167b36b10c
commit f7662cdcba
2 changed files with 0 additions and 12 deletions
@@ -23,7 +23,6 @@ import de.steamwar.core.Core;
import de.steamwar.fightsystem.ArenaMode;
import de.steamwar.fightsystem.Config;
import de.steamwar.fightsystem.record.GlobalRecorder;
import de.steamwar.fightsystem.utils.RandomSeed;
import lombok.Getter;
import org.bukkit.Bukkit;
import org.bukkit.Sound;
@@ -35,8 +34,6 @@ import java.util.HashSet;
public class Fight {
private Fight(){}
@Getter
private static final RandomSeed randomSeed = new RandomSeed();
@Getter
private static final FightTeam redTeam = new FightTeam(Config.TeamRedName, Config.TeamRedColor, Config.TeamRedSpawn, Config.RedPasteRegion, Config.RedExtendRegion, Config.RedRotate, false, Config.RedLeader);
@Getter
@@ -154,7 +154,6 @@ public class PacketProcessor implements Listener {
packetDecoder[0xc6] = this::winMessage;
packetDecoder[0xc7] = this::bossBarMessage;
packetDecoder[0xef] = source::readUTF;
packetDecoder[0xfd] = this::randomSeed;
packetDecoder[0xff] = this::tick;
execSync(FightWorld::forceLoad);
@@ -648,14 +647,6 @@ public class PacketProcessor implements Listener {
execSync(() -> entities.get(entityId).setOnFire(perma));
}
private void randomSeed() throws IOException {
long seed = source.readLong();
execSync(() -> {
Fight.getRandomSeed().setSeed(seed);
});
}
private void tick(){
execSync(entityServer::tick);