Removed unused array of pmods, mods, and admins

This commit is contained in:
CodeForFame 2012-08-09 23:35:46 -05:00
parent c79aaf1f56
commit 5603674db1

View File

@ -31,7 +31,6 @@ public class Config {
public static double expRate, subExpRate, WILD_NON_COMBAT_BONUS, public static double expRate, subExpRate, WILD_NON_COMBAT_BONUS,
WILD_COMBAT_BONUS; WILD_COMBAT_BONUS;
public static String[] pmods, mods, admins;
public static int IP_BAN_REMOVAL_DELAY, GARBAGE_COLLECT_INTERVAL, public static int IP_BAN_REMOVAL_DELAY, GARBAGE_COLLECT_INTERVAL,
SAVE_INTERVAL; SAVE_INTERVAL;
public static String DATE_FORMAT, BLOCK_COMMAND, UNBLOCK_COMMAND, public static String DATE_FORMAT, BLOCK_COMMAND, UNBLOCK_COMMAND,
@ -91,10 +90,6 @@ public class Config {
expRate = Double.parseDouble(props.getProperty("expRate")); expRate = Double.parseDouble(props.getProperty("expRate"));
subExpRate = Double.parseDouble(props.getProperty("subExpRate")); subExpRate = Double.parseDouble(props.getProperty("subExpRate"));
pmods = props.getProperty("pmods").replaceAll(", +", ",").split(",");
mods = props.getProperty("mods").replaceAll(", +", ",").split(",");
admins = props.getProperty("admins").replaceAll(", +", ",").split(",");
IP_BAN_REMOVAL_DELAY = Integer.parseInt(props IP_BAN_REMOVAL_DELAY = Integer.parseInt(props
.getProperty("ip-ban-removal-delay")); .getProperty("ip-ban-removal-delay"));
BLOCK_COMMAND = props.getProperty("os-level-block-command"); BLOCK_COMMAND = props.getProperty("os-level-block-command");