Move RefreshChunks setting from hidden.yml to config.yml

Adds #2213
This commit is contained in:
TfT_02
2014-08-17 20:21:23 -06:00
parent 097a5a0894
commit 8a35d69540
6 changed files with 9 additions and 10 deletions

View File

@ -252,6 +252,7 @@ public class Config extends AutoUpdateConfigLoader {
public long getDatabasePlayerCooldown() { return config.getLong("Commands.Database.Player_Cooldown", 1750); }
public boolean getLevelUpSoundsEnabled() { return config.getBoolean("General.LevelUp_Sounds", true); }
public boolean getRefreshChunksEnabled() { return config.getBoolean("General.Refresh_Chunks", false); }
/* Mob Healthbar */
public MobHealthbarType getMobHealthbarDefault() {

View File

@ -11,7 +11,6 @@ public class HiddenConfig {
private boolean chunkletsEnabled;
private int conversionRate;
private boolean useEnchantmentBuffs;
private boolean resendChunksAfterBlockAbility;
private int uuidConvertAmount;
private int mojangRateLimit;
private long mojangLimitPeriod;
@ -35,7 +34,6 @@ public class HiddenConfig {
chunkletsEnabled = config.getBoolean("Options.Chunklets", true);
conversionRate = config.getInt("Options.ConversionRate", 1);
useEnchantmentBuffs = config.getBoolean("Options.EnchantmentBuffs", true);
resendChunksAfterBlockAbility = config.getBoolean("Options.RefreshChunks", false);
uuidConvertAmount = config.getInt("Options.UUIDConvertAmount", 5);
mojangRateLimit = config.getInt("Options.MojangRateLimit", 50000);
mojangLimitPeriod = config.getLong("Options.MojangLimitPeriod", 600000);
@ -54,10 +52,6 @@ public class HiddenConfig {
return useEnchantmentBuffs;
}
public boolean resendChunksAfterBlockAbility() {
return resendChunksAfterBlockAbility;
}
public int getUUIDConvertAmount() {
return uuidConvertAmount;
}