Skip to content

Commit

Permalink
small formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
CalMWolfs committed Oct 9, 2024
1 parent f68d518 commit a38b0d7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public class AttributeOverlayConfig {
public boolean enabled = false;

@Expose
@ConfigOption(name = "Attributes Shown", desc = "List of attributes shown")
@ConfigOption(name = "Attributes Shown", desc = "List of attributes shown.")
@ConfigEditorDraggableList
public List<AttributeAPI.AttributeType> attributesList = new ArrayList<>(AttributeAPI.AttributeType.getEntries());

Expand All @@ -41,7 +41,7 @@ public class AttributeOverlayConfig {
"§c want to suggest changes, please do so in the discord."
)
@ConfigEditorBoolean
public boolean highlightGoodrolls = true;
public boolean highlightGoodRolls = true;

@Expose
@ConfigOption(name = "Hide non Good Rolls", desc = "Hides attributes that are not considered good rolls.")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ object AttributeAPI {
FISHING_SPEED("Fishing Speed", "fishing_speed", "FS"),
HUNTER("Hunter", "hunter", "HU"),
TROPHY_HUNTER("Trophy Hunter", "trophy_hunter", "TH"),
UNKNOWN("Unknown", "unknown", "??")
UNKNOWN("Unknown", "unknown", "??"),
;

override fun toString() = displayName
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ object AttributeOverlay {
val goodRoll = !config.hideNonGoodRolls || isGoodRoll
inConfig && (goodRoll || isLevel)
}.forEachIndexed { index, attribute ->
event.drawAttribute(attribute, isGoodRoll && config.highlightGoodrolls, index)
event.drawAttribute(attribute, isGoodRoll && config.highlightGoodRolls, index)
}
}

Expand Down

0 comments on commit a38b0d7

Please sign in to comment.