diff --git a/CHANGELOG.md b/CHANGELOG.md
index f6115a3..c10f689 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,8 @@
# Changelog
+## 9.4.0
+- Added support for more PlayerVault plugins (specifically EnderVaults)
+
## 9.3.0
- Added CraftBukkit compatibility (although I don't unterstand why anyone would prefer CraftBukkit over Spigot)
diff --git a/pom.xml b/pom.xml
index d410a71..bb762f0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -9,7 +9,7 @@
ChestSort
https://www.chestsort.de
Automatically sorts your chests!
- 9.3.0
+ 9.4.0
jar
diff --git a/src/main/java/de/jeff_media/ChestSort/hooks/PlayerVaultsHook.java b/src/main/java/de/jeff_media/ChestSort/hooks/PlayerVaultsHook.java
index f8784c9..0d29737 100644
--- a/src/main/java/de/jeff_media/ChestSort/hooks/PlayerVaultsHook.java
+++ b/src/main/java/de/jeff_media/ChestSort/hooks/PlayerVaultsHook.java
@@ -14,7 +14,8 @@ public class PlayerVaultsHook {
public boolean isPlayerVault(Inventory inv) {
if(inv==null) return false;
if(inv.getHolder()==null) return false;
- if(!main.getConfig().getBoolean("hook-playervaultsx",true)) return false;
- return inv.getHolder().getClass().getName().equals("com.drtshock.playervaults.vaultmanagement.VaultHolder");
+ if(!main.getConfig().getBoolean("hook-playervaults",true)) return false;
+ return inv.getHolder().getClass().getName().equals("com.drtshock.playervaults.vaultmanagement.VaultHolder")
+ || inv.getHolder().getClass().getName().equals("com.github.dig.endervaults.bukkit.vault.BukkitInventoryHolder");
}
}
diff --git a/src/main/resources/config.yml b/src/main/resources/config.yml
index 9947137..ac35462 100644
--- a/src/main/resources/config.yml
+++ b/src/main/resources/config.yml
@@ -229,10 +229,10 @@ hook-inventorypages: true
# backpacks and sort them like a regular chest.
hook-minepacks: true
-##### PlayerVaultsX #####
-# When PlayerVaultsX is installed, ChestSort can sort your
+##### PlayerVaults and similar plugins #####
+# When PlayerVaults or similar plugins are installed, ChestSort can sort your
# player vaults just like regular chests.
-hook-playervaultsx: true
+hook-playervaults: true
##### CrateReloaded #####
# Prevents the player from using hotkeys on a crate
diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml
index 0c94f64..4567c25 100644
--- a/src/main/resources/plugin.yml
+++ b/src/main/resources/plugin.yml
@@ -1,6 +1,6 @@
main: de.jeff_media.ChestSort.ChestSortPlugin
name: ChestSort
-version: 9.3.0
+version: 9.4.0
api-version: "1.13"
description: Allows automatic chest sorting
author: mfnalex