diff --git a/lib/AreaShop-2.4.0.jar b/lib/AreaShop-2.4.0.jar
deleted file mode 100644
index bba2810..0000000
Binary files a/lib/AreaShop-2.4.0.jar and /dev/null differ
diff --git a/lib/AuthMe-5.4.0.jar b/lib/AuthMe-5.4.0.jar
new file mode 100644
index 0000000..26f2b0c
Binary files /dev/null and b/lib/AuthMe-5.4.0.jar differ
diff --git a/pom.xml b/pom.xml
index 211c45a..0c0cbeb 100644
--- a/pom.xml
+++ b/pom.xml
@@ -135,6 +135,10 @@
jitpack-repo
https://jitpack.io
+
+ nlthijs48-repo
+ https://jenkins.wiefferink.me
+
@@ -158,8 +162,9 @@
fr.xephi
authme
- 5.2
- provided
+ 5.4.0
+ system
+ ${project.basedir}/lib/AuthMe-5.4.0.jar
com.plotsquared
@@ -210,8 +215,7 @@
me.wiefferink
areashop
2.4.0
- system
- ${project.basedir}/lib/AreaShop-2.4.0.jar
+ provided
diff --git a/src/main/java/de/epiceric/shopchest/listeners/AreaShopListener.java b/src/main/java/de/epiceric/shopchest/listeners/AreaShopListener.java
index eaa758e..aadf644 100644
--- a/src/main/java/de/epiceric/shopchest/listeners/AreaShopListener.java
+++ b/src/main/java/de/epiceric/shopchest/listeners/AreaShopListener.java
@@ -60,7 +60,7 @@ public class AreaShopListener implements Listener {
if (!shop.getLocation().getWorld().getName().equals(generalRegion.getWorldName())) continue;
for (ProtectedRegion r : regionManager.getApplicableRegions(shop.getLocation())) {
- if (generalRegion.getName().equals(r.getId())) {
+ if (generalRegion.getLowerCaseName().equals(r.getId())) {
plugin.getShopUtils().removeShop(shop, true);
break;
}