From d8e7c9805b2b4ac9357775f02688d88077af7e8f Mon Sep 17 00:00:00 2001 From: boy0001 Date: Sat, 8 Aug 2015 02:40:41 +1000 Subject: [PATCH] Add getters to bukkit econ handler. --- .../com/plotsquared/bukkit/util/BukkitEconHandler.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/main/java/com/plotsquared/bukkit/util/BukkitEconHandler.java b/src/main/java/com/plotsquared/bukkit/util/BukkitEconHandler.java index 3e7f2f0cd..b4b425e4f 100644 --- a/src/main/java/com/plotsquared/bukkit/util/BukkitEconHandler.java +++ b/src/main/java/com/plotsquared/bukkit/util/BukkitEconHandler.java @@ -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();