Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
65 changes: 65 additions & 0 deletions .idea/jarRepositories.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@

<repository>
<id>papermc</id>
<url>https://papermc.io/repo/repository/maven-public/</url>
<url>https://repo.papermc.io/repository/maven-public/</url>
</repository>

<repository>
Expand Down
7 changes: 6 additions & 1 deletion src/main/java/de/jeff_media/chestsort/enums/Hotkey.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,12 @@ public boolean hasPermission(Player player) {
public static String getPermission(Hotkey hotkey) {

if(hotkey == AUTO_SORT) {
return "chestsort.use";
/*
Fixed a bug in the menu: when automatic sorting is not available,
a switch is still displayed instead of the barrier, although it does not work.
(It does not affect the operation of the auto-sorting mechanics itself, it still works well )
*/
return "chestsort.automatic";
}

if(hotkey == AUTO_INV_SORT) {
Expand Down