mirror of
https://github.com/MilkBowl/Vault.git
synced 2025-02-19 22:02:44 +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);
|
Bukkit.getServer().getPluginManager().registerEvents(new EconomyServerListener(this), plugin);
|
||||||
|
|
||||||
if (economy == null) {
|
if (economy == null) {
|
||||||
Plugin commandsex = plugin.getServer().getPluginManager().getPlugin("Essentials");
|
Plugin commandsex = plugin.getServer().getPluginManager().getPlugin("CommandsEx");
|
||||||
|
|
||||||
if (commandsex != null && commandsex.isEnabled()) {
|
if (commandsex != null && commandsex.isEnabled()) {
|
||||||
economy = (CommandsEX) commandsex;
|
economy = (CommandsEX) commandsex;
|
||||||
|
Loading…
Reference in New Issue
Block a user