mirror of https://github.com/MilkBowl/Vault.git
Bugfix: Loading GoldIsMoney on enable event fail
This commit is contained in:
parent
44f37f6fb1
commit
b3b4512b0d
|
@ -112,7 +112,7 @@ public class Economy_GoldIsMoney implements Economy {
|
|||
if (economy.economy == null) {
|
||||
Plugin ec = plugin.getServer().getPluginManager().getPlugin("GoldIsMoney");
|
||||
|
||||
if (ec != null && ec.isEnabled() && ec.getClass().getName().equals("com.GoldIsMoney.GoldIsMoney")) {
|
||||
if (ec != null && ec.isEnabled() && ec.getClass().getName().equals("com.flobi.GoldIsMoney.GoldIsMoney")) {
|
||||
economy.economy = (GoldIsMoney) ec;
|
||||
log.info(String.format("[%s][Economy] %s hooked.", plugin.getDescription().getName(), economy.name));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue