Skip to content

Commit 4088d42

Browse files
committed
Fix call confusion
1 parent 0df9c67 commit 4088d42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/src/main/java/dev/terminalmc/clientsort/client/gui/ControlButtonManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ private static void generateSortButton(
189189

190190
// Get the configured or default status
191191
boolean enabled = layout != null
192-
? layout.stackFillEnabled()
192+
? layout.sortEnabled()
193193
: options().sortEnabled;
194194

195195
// Only add the button if it's whitelisted or forced, and if it is forced, mark it inactive

0 commit comments

Comments
 (0)