mirror of
https://github.com/Brettflan/WorldBorder.git
synced 2024-11-28 21:15:48 +01:00
minor cleanup of last commit
This commit is contained in:
parent
208169be49
commit
69895a071d
@ -49,8 +49,8 @@ public class Config
|
||||
private static boolean portalRedirection = true;
|
||||
private static boolean dynmapEnable = true;
|
||||
private static String dynmapMessage;
|
||||
private static int dynmapPriority;
|
||||
private static boolean dynmapHideByDefault;
|
||||
private static int dynmapPriority = 0;
|
||||
private static boolean dynmapHideByDefault = false;
|
||||
private static int remountDelayTicks = 0;
|
||||
private static boolean killPlayer = false;
|
||||
private static boolean denyEnderpearl = false;
|
||||
@ -409,11 +409,13 @@ public class Config
|
||||
return dynmapMessage;
|
||||
}
|
||||
|
||||
public static boolean DynmapHideByDefault() {
|
||||
public static boolean DynmapHideByDefault()
|
||||
{
|
||||
return dynmapHideByDefault;
|
||||
}
|
||||
|
||||
public static int DynmapPriority() {
|
||||
public static int DynmapPriority()
|
||||
{
|
||||
return dynmapPriority;
|
||||
}
|
||||
|
||||
@ -607,7 +609,7 @@ public class Config
|
||||
remountDelayTicks = cfg.getInt("remount-delay-ticks", 0);
|
||||
dynmapEnable = cfg.getBoolean("dynmap-border-enabled", true);
|
||||
dynmapMessage = cfg.getString("dynmap-border-message", "The border of the world.");
|
||||
dynmapHideByDefault = cfg.getBoolean("dynmap-broder-hideByDefault", false);
|
||||
dynmapHideByDefault = cfg.getBoolean("dynmap-border-hideByDefault", false);
|
||||
dynmapPriority = cfg.getInt("dynmap-border-priority", 0);
|
||||
logConfig("Using " + (ShapeName()) + " border, knockback of " + knockBack + " blocks, and timer delay of " + timerTicks + ".");
|
||||
killPlayer = cfg.getBoolean("player-killed-bad-spawn", false);
|
||||
@ -718,7 +720,7 @@ public class Config
|
||||
cfg.set("remount-delay-ticks", remountDelayTicks);
|
||||
cfg.set("dynmap-border-enabled", dynmapEnable);
|
||||
cfg.set("dynmap-border-message", dynmapMessage);
|
||||
cfg.set("dynmap-broder-hideByDefault", dynmapHideByDefault);
|
||||
cfg.set("dynmap-border-hideByDefault", dynmapHideByDefault);
|
||||
cfg.set("dynmap-border-priority", dynmapPriority);
|
||||
cfg.set("player-killed-bad-spawn", killPlayer);
|
||||
cfg.set("deny-enderpearl", denyEnderpearl);
|
||||
|
Loading…
Reference in New Issue
Block a user