diff --git a/.idea/jarRepositories.xml b/.idea/jarRepositories.xml
new file mode 100644
index 0000000..b69f46d
--- /dev/null
+++ b/.idea/jarRepositories.xml
@@ -0,0 +1,65 @@
+
+
+
+
+
+
+
+
+
+
+
+ // Fixed the link to papermc (they changed it a bit) in the files JarRepositories.xml and pom.xml
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index 40b7c02..da115da 100644
--- a/pom.xml
+++ b/pom.xml
@@ -158,7 +158,7 @@
papermc
- https://papermc.io/repo/repository/maven-public/
+ https://repo.papermc.io/repository/maven-public/
diff --git a/src/main/java/de/jeff_media/chestsort/enums/Hotkey.java b/src/main/java/de/jeff_media/chestsort/enums/Hotkey.java
index 90f7890..bdd15ec 100644
--- a/src/main/java/de/jeff_media/chestsort/enums/Hotkey.java
+++ b/src/main/java/de/jeff_media/chestsort/enums/Hotkey.java
@@ -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) {