SteamWar/FightSystem
Archiviert
13
1

Additional debug infos
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Lixfel 2022-02-24 22:44:03 +01:00
Ursprung 84f0ccee81
Commit 534b16b153

Datei anzeigen

@ -76,6 +76,7 @@ public class PacketProcessor {
private int arenaMinZ = Config.ArenaRegion.getMinZ();
private boolean tickFinished = false;
private int lastPacket = -1;
public PacketProcessor(PacketSource source){
this.source = source;
@ -507,15 +508,16 @@ public class PacketProcessor {
if(parser != null){
parser.process();
}else{
Bukkit.getLogger().log(Level.SEVERE, "Unknown packet " + packetType + " recieved, closing.");
Bukkit.getLogger().log(Level.SEVERE, "Unknown packet " + packetType + " recieved, closing. LastPacket: " + lastPacket);
source.close();
}
lastPacket = packetType;
}
} catch (EOFException e) {
Bukkit.getLogger().log(Level.INFO, "The FightServer is offline");
source.close();
} catch(Exception e) {
Bukkit.getLogger().log(Level.WARNING, "Could not recieve packet", e);
Bukkit.getLogger().log(Level.WARNING, "Could not recieve packet, LastPacket: " + lastPacket, e);
source.close();
}