Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Ursprung
f0a7c3c50f
Commit
e6dba7118f
@ -106,10 +106,12 @@ public class FightSchematic extends StateDependent {
|
|||||||
leader.getPlayer().getInventory().clear(0);
|
leader.getPlayer().getInventory().clear(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(ArenaMode.AntiReplay.contains(Config.mode)) {
|
||||||
if(team.isBlue())
|
if(team.isBlue())
|
||||||
GlobalRecorder.getInstance().blueSchem(schematic);
|
GlobalRecorder.getInstance().blueSchem(schematic);
|
||||||
else
|
else
|
||||||
GlobalRecorder.getInstance().redSchem(schematic);
|
GlobalRecorder.getInstance().redSchem(schematic);
|
||||||
|
}
|
||||||
|
|
||||||
Bukkit.getScheduler().runTask(FightSystem.getPlugin(), this::paste);
|
Bukkit.getScheduler().runTask(FightSystem.getPlugin(), this::paste);
|
||||||
}
|
}
|
||||||
|
@ -497,7 +497,7 @@ public class PacketProcessor {
|
|||||||
} catch (EOFException e) {
|
} catch (EOFException e) {
|
||||||
Bukkit.getLogger().log(Level.INFO, "The FightServer is offline");
|
Bukkit.getLogger().log(Level.INFO, "The FightServer is offline");
|
||||||
source.close();
|
source.close();
|
||||||
} catch(IOException e) {
|
} catch(Exception e) {
|
||||||
Bukkit.getLogger().log(Level.WARNING, "Could not recieve packet", e);
|
Bukkit.getLogger().log(Level.WARNING, "Could not recieve packet", e);
|
||||||
source.close();
|
source.close();
|
||||||
}
|
}
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren