Skip to content

Commit

Permalink
Merge branch 'beta' into chunked
Browse files Browse the repository at this point in the history
  • Loading branch information
j10a1n15 authored Jun 13, 2024
2 parents 6642ac4 + 1d35ee7 commit 4936429
Show file tree
Hide file tree
Showing 4 changed files with 130 additions and 126 deletions.
8 changes: 4 additions & 4 deletions src/main/java/at/hannibal2/skyhanni/api/HotmAPI.kt
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ object HotmAPI {
}
} == true

enum class Powder() {
MITHRIL,
GEMSTONE,
GLACITE,
enum class Powder(val displayName: String, val color: String) {
MITHRIL("Mithril", "§2"),
GEMSTONE("Gemstone", "§d"),
GLACITE("Glacite", "§b"),

;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,29 @@ public class DisplayConfig {
@ConfigEditorBoolean
public boolean showMaxIslandPlayers = true;

@Expose
@ConfigOption(name = "Powder Display", desc = "Select how the powder display should be formatted.")
@ConfigEditorDropdown
public PowderDisplay powderDisplay = PowderDisplay.AVAILABLE;

public enum PowderDisplay {
AVAILABLE("Available"),
TOTAL("Total"),
BOTH("Available / All")
;

private final String str;

PowderDisplay(String str) {
this.str = str;
}

@Override
public String toString() {
return str;
}
}

@Expose
@ConfigOption(name = "Number Format", desc = "")
@ConfigEditorDropdown
Expand Down
Loading

0 comments on commit 4936429

Please sign in to comment.