From ad675b831ca1d7e3de457056a27f1cfc31e05f3f Mon Sep 17 00:00:00 2001 From: Chaoscaot Date: Sat, 25 Sep 2021 11:50:04 +0200 Subject: [PATCH] Reducing Data Size --- src/de/steamwar/bungeecore/Arenaserver.java | 32 ++++----------------- 1 file changed, 5 insertions(+), 27 deletions(-) diff --git a/src/de/steamwar/bungeecore/Arenaserver.java b/src/de/steamwar/bungeecore/Arenaserver.java index ff5b62c..c1b826b 100644 --- a/src/de/steamwar/bungeecore/Arenaserver.java +++ b/src/de/steamwar/bungeecore/Arenaserver.java @@ -4,31 +4,13 @@ public class Arenaserver extends Subserver { private final String mode; private final String map; - private final int eventFightID; - private final boolean ranked; + private final boolean allowMerge; - public Arenaserver(String serverName, String mode, String map, int eventFightID, boolean ranked, int port, String... command) { - super(Servertype.ARENA, serverName, port, command); - this.mode = mode; - this.map = map; - this.eventFightID = eventFightID; - this.ranked = ranked; - } - - public Arenaserver(String serverName, String mode, String map, int eventFightID, boolean ranked, int port, Runnable shutdownCallback, String... command) { - super(Servertype.ARENA, serverName, port, shutdownCallback, command); - this.mode = mode; - this.map = map; - this.eventFightID = eventFightID; - this.ranked = ranked; - } - - public Arenaserver(String serverName, String mode, String map, int eventFightID, boolean ranked, int port, ProcessBuilder processBuilder, Runnable shutdownCallback) { + public Arenaserver(String serverName, String mode, String map, boolean allowMerge, int port, ProcessBuilder processBuilder, Runnable shutdownCallback) { super(Servertype.ARENA, serverName, port, processBuilder, shutdownCallback); this.mode = mode; this.map = map; - this.eventFightID = eventFightID; - this.ranked = ranked; + this.allowMerge = allowMerge; } public String getMode() { @@ -39,11 +21,7 @@ public class Arenaserver extends Subserver { return map; } - public int getEventFightID() { - return eventFightID; - } - - public boolean isRanked() { - return ranked; + public boolean isAllowMerge() { + return allowMerge; } }