mirror of
https://github.com/filoghost/HolographicDisplays.git
synced 2024-11-03 09:29:34 +01:00
Remove unused config nodes.
This commit is contained in:
parent
2e0759c3ec
commit
6dc32f2a8f
@ -11,4 +11,5 @@ images:
|
||||
color: '&7'
|
||||
bungee-refresh-seconds: 3
|
||||
time-format: 'H:mm'
|
||||
update-notification: true
|
||||
update-notification: true
|
||||
using-RedisBungee: false
|
@ -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 {
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user