fixed plugin name for CommandsEX hook

This commit is contained in:
mung3r 2012-10-16 16:16:03 -07:00
parent 2c87954d4f
commit f4067761d8

View File

@ -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;