diff --git a/src/main/java/com/graywolf336/jail/JailPayManager.java b/src/main/java/com/graywolf336/jail/JailPayManager.java index a96ad11..33a9c19 100644 --- a/src/main/java/com/graywolf336/jail/JailPayManager.java +++ b/src/main/java/com/graywolf336/jail/JailPayManager.java @@ -162,6 +162,7 @@ public class JailPayManager { private boolean setupEconomy(JailMain plugin) { if (economy != null) return true; + else if(!plugin.getServer().getPluginManager().isPluginEnabled("Vault")) return false; RegisteredServiceProvider economyProvider = plugin.getServer().getServicesManager().getRegistration(net.milkbowl.vault.economy.Economy.class); if (economyProvider != null) {