default button to true

This commit is contained in:
Ryder Belserion 2024-10-11 12:26:13 -04:00
parent 0405e87c42
commit f75429fdf1
No known key found for this signature in database

View File

@ -106,10 +106,8 @@ public class AuctionsMenu extends Holder {
continue;
}
if (this.config.contains("Settings.GUISettings.OtherSettings." + key + ".Toggle")) {
if (!this.config.getBoolean("Settings.GUISettings.OtherSettings." + key + ".Toggle")) {
continue;
}
if (!this.config.getBoolean("Settings.GUISettings.OtherSettings." + key + ".Toggle", true)) {
continue;
}
final String id = this.config.getString("Settings.GUISettings.OtherSettings." + key + ".Item");