This is 6.4.1_dev, Fix Vault NPE.

This commit is contained in:
Olof Larsson
2013-06-23 09:27:36 +02:00
parent d8f8de1788
commit 7ec866f458
2 changed files with 2 additions and 1 deletions

View File

@@ -25,6 +25,7 @@ public class MoneyMixinVault extends MoneyMixinAbstract
public void activate()
{
RegisteredServiceProvider<Economy> rsp = Bukkit.getServicesManager().getRegistration(Economy.class);
if (rsp == null) return;
this.economy = rsp.getProvider();
Money.mixin(this);
}