mirror of
https://github.com/PikaMug/Quests.git
synced 2024-12-25 10:38:21 +01:00
Remove unused config option
This commit is contained in:
parent
ca9f71d16b
commit
05d6c92c31
@ -37,7 +37,6 @@ public class Settings {
|
||||
private int topLimit = 150;
|
||||
private boolean translateNames = false;
|
||||
private boolean translateSubCommands = false;
|
||||
private boolean useGPS = true;
|
||||
|
||||
public Settings(Quests plugin) {
|
||||
this.plugin = plugin;
|
||||
@ -145,12 +144,6 @@ public class Settings {
|
||||
public void setTranslateSubCommands(boolean translateSubCommands) {
|
||||
this.translateSubCommands = translateSubCommands;
|
||||
}
|
||||
public boolean canUseGPS() {
|
||||
return useGPS;
|
||||
}
|
||||
public void setUseGPS(boolean useGPS) {
|
||||
this.useGPS = useGPS;
|
||||
}
|
||||
|
||||
public void init() {
|
||||
FileConfiguration config = plugin.getConfig();
|
||||
@ -177,7 +170,6 @@ public class Settings {
|
||||
topLimit = config.getInt("top-limit", 150);
|
||||
translateNames = config.getBoolean("translate-names", true);
|
||||
translateSubCommands = config.getBoolean("translate-subcommands", false);
|
||||
useGPS = config.getBoolean("use-gps-plugin", true);
|
||||
try {
|
||||
config.save(new File(plugin.getDataFolder(), "config.yml"));
|
||||
} catch (IOException e) {
|
||||
|
Loading…
Reference in New Issue
Block a user