Vault

Vault

7M Downloads

register economy

TheMagBum opened this issue ยท 1 comments

commented

methode: private boolean setupEconomy() {
if (getServer().getPluginManager().getPlugin("Vault") == null) {
return false;
}
RegisteredServiceProvider rsp = getServer().getServicesManager().getRegistration(Economy.class);
if (rsp == null) {
return false;
}

  econ = rsp.getProvider();
  return econ != null;

}
rsp is null. how else am I supposed to do that

commented

make sure you're installing an economy plugin on the server too..