Remove unused config nodes.

This commit is contained in:
filoghost 2014-11-10 15:01:54 +01:00
parent 2e0759c3ec
commit 6dc32f2a8f
3 changed files with 3 additions and 6 deletions

View File

@ -11,4 +11,5 @@ images:
color: '&7'
bungee-refresh-seconds: 3
time-format: 'H:mm'
update-notification: true
update-notification: true
using-RedisBungee: false

View File

@ -246,8 +246,6 @@ public class HolographicDisplays extends JavaPlugin {
Configuration.imageSymbol = StringUtils.toReadableFormat(ConfigNode.IMAGES_SYMBOL.getString(getConfig()));
Configuration.transparencySymbol = StringUtils.toReadableFormat(ConfigNode.TRANSPARENCY_SPACE.getString(getConfig()));
Configuration.bungeeRefreshSeconds = ConfigNode.BUNGEE_REFRESH_SECONDS.getInt(getConfig());
Configuration.bungeeOnlineFormat = StringUtils.toReadableFormat(ConfigNode.BUNGEE_ONLINE_FORMAT.getString(getConfig()));
Configuration.bungeeOfflineFormat = StringUtils.toReadableFormat(ConfigNode.BUNGEE_OFFLINE_FORMAT.getString(getConfig()));
Configuration.redisBungee = ConfigNode.BUNGEE_USE_REDIS_BUNGEE.getBoolean(getConfig());
try {

View File

@ -11,9 +11,7 @@ public enum ConfigNode {
TRANSPARENCY_COLOR("images.transparency.color", "&7"),
UPDATE_NOTIFICATION("update-notification", true),
BUNGEE_REFRESH_SECONDS("bungee-refresh-seconds", 3),
BUNGEE_ONLINE_FORMAT("bungee-online-format", "&aOnline"),
BUNGEE_OFFLINE_FORMAT("bungee-offline-format", "&cOffline"),
BUNGEE_USE_REDIS_BUNGEE("bungee-use-RedisBungee-plugin", false),
BUNGEE_USE_REDIS_BUNGEE("using-RedisBungee", false),
TIME_FORMAT("time-format", "H:mm");
private String path;