This is 6.4.1_dev, Fix Vault NPE.
This commit is contained in:
parent
d8f8de1788
commit
7ec866f458
@ -1,6 +1,6 @@
|
|||||||
main: com.massivecraft.mcore.MCore
|
main: com.massivecraft.mcore.MCore
|
||||||
name: mcore
|
name: mcore
|
||||||
version: 6.4.0
|
version: 6.4.1_dev
|
||||||
website: http://massivecraft.com/mcore
|
website: http://massivecraft.com/mcore
|
||||||
authors: [Cayorion]
|
authors: [Cayorion]
|
||||||
description: §eMCore stands for MassiveCraft Core and is a plugin that contains libraries and features that other plugins make use of. §aCayorion §efrom the minecraft server §aMassiveCraft §eis the lead programmer. Feel free to visit us at §bhttp://massivecraft.com
|
description: §eMCore stands for MassiveCraft Core and is a plugin that contains libraries and features that other plugins make use of. §aCayorion §efrom the minecraft server §aMassiveCraft §eis the lead programmer. Feel free to visit us at §bhttp://massivecraft.com
|
||||||
|
@ -25,6 +25,7 @@ public class MoneyMixinVault extends MoneyMixinAbstract
|
|||||||
public void activate()
|
public void activate()
|
||||||
{
|
{
|
||||||
RegisteredServiceProvider<Economy> rsp = Bukkit.getServicesManager().getRegistration(Economy.class);
|
RegisteredServiceProvider<Economy> rsp = Bukkit.getServicesManager().getRegistration(Economy.class);
|
||||||
|
if (rsp == null) return;
|
||||||
this.economy = rsp.getProvider();
|
this.economy = rsp.getProvider();
|
||||||
Money.mixin(this);
|
Money.mixin(this);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user