Skip to content

Commit

Permalink
Deprecate config
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinthegreat1 committed Nov 24, 2024
1 parent 4a0479e commit b48d047
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public class MiningConfig {
@SerialEntry
public DwarvenMines dwarvenMines = new DwarvenMines();

@SerialEntry
@Deprecated
public DwarvenHud dwarvenHud = new DwarvenHud();

@SerialEntry
Expand Down Expand Up @@ -41,26 +41,27 @@ public static class DwarvenMines {
public boolean solvePuzzler = true;
}

@Deprecated
public static class DwarvenHud {
@SerialEntry
@Deprecated
public boolean enabledCommissions = true;

@SerialEntry
@Deprecated
public boolean enabledPowder = true;

@SerialEntry
@Deprecated
public DwarvenHudStyle style = DwarvenHudStyle.SIMPLE;

@SerialEntry
@Deprecated
public int commissionsX = 10;

@SerialEntry
@Deprecated
public int commissionsY = 10;

@SerialEntry
@Deprecated
public int powderX = 10;

@SerialEntry
@Deprecated
public int powderY = 70;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,15 @@ public static class TabHudConf {

@SerialEntry
public ScreenBuilder.DefaultPositioner defaultPositioning = ScreenBuilder.DefaultPositioner.CENTERED;

@Deprecated
public NameSorting nameSorting = NameSorting.DEFAULT;

@Deprecated
public boolean plainPlayerNames = false;
}

@Deprecated
public enum NameSorting {
DEFAULT, ALPHABETICAL;

Expand Down

0 comments on commit b48d047

Please sign in to comment.