mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-12-30 17:57:53 +01:00
Add getters to bukkit econ handler.
This commit is contained in:
parent
94df643e6e
commit
d8e7c9805b
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user