mirror of
https://github.com/MilkBowl/Vault.git
synced 2025-02-17 04:41:41 +01:00
fixed plugin name for CommandsEX hook
This commit is contained in:
parent
2c87954d4f
commit
f4067761d8
@ -31,7 +31,7 @@ public class Economy_CommandsEX implements Economy {
|
||||
Bukkit.getServer().getPluginManager().registerEvents(new EconomyServerListener(this), plugin);
|
||||
|
||||
if (economy == null) {
|
||||
Plugin commandsex = plugin.getServer().getPluginManager().getPlugin("Essentials");
|
||||
Plugin commandsex = plugin.getServer().getPluginManager().getPlugin("CommandsEx");
|
||||
|
||||
if (commandsex != null && commandsex.isEnabled()) {
|
||||
economy = (CommandsEX) commandsex;
|
||||
|
Loading…
Reference in New Issue
Block a user