Add getters to bukkit econ handler.

This commit is contained in:
boy0001 2015-08-08 02:40:41 +10:00
parent 94df643e6e
commit d8e7c9805b

View File

@ -17,6 +17,16 @@ public class BukkitEconHandler extends EconHandler {
private Economy econ;
private Permission perms;
public Economy getEconomy() {
init();
return econ;
}
public Permission getPermissions() {
init();
return perms;
}
public boolean init() {
if (econ == null || perms == null) {
setupPermissions();