removed InfoBarCommand and integrated InfoBars with Settings preference handling

This commit is contained in:
MineTec committed 2025-10-03 15:30:36 +02:00
1 parent dc0003b91e
commit 324defc4a8
12 files changed
+89 -58

No files matched your search

@@ -29,7 +29,7 @@ public class LocatorBar extends Appliance {
}
public void updateLocatorBar(Player player) {
boolean enabled = Settings.instance().getSetting(player, Settings.Key.LocatorBarConfig, Boolean.class);
boolean enabled = Settings.instance().getSetting(player, Settings.Key.LocatorBar, Boolean.class);
AttributeInstance receive = player.getAttribute(Attribute.WAYPOINT_RECEIVE_RANGE);
AttributeInstance transmit = player.getAttribute(Attribute.WAYPOINT_TRANSMIT_RANGE);
@@ -13,7 +13,7 @@ public class LocatorBarSettings extends BoolSetting implements CategorizedSettin
}
public LocatorBarSettings() {
super(Settings.Key.LocatorBarConfig);
super(Settings.Key.LocatorBar);
}
@Override