Remove unused config option

This commit is contained in:
PikaMug 2020-03-04 02:35:02 -05:00
parent ca9f71d16b
commit 05d6c92c31

View File

@ -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) {