From 6108277b3c7b7479c9b83c5dd3abbd1887904b3d Mon Sep 17 00:00:00 2001 From: Florian CUNY Date: Sat, 3 Nov 2018 11:22:49 +0100 Subject: [PATCH] Removed unused AbstractFlagListener#getWhy() --- .../bentobox/api/flags/AbstractFlagListener.java | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/main/java/world/bentobox/bentobox/api/flags/AbstractFlagListener.java b/src/main/java/world/bentobox/bentobox/api/flags/AbstractFlagListener.java index 0914301a1..604c24a98 100644 --- a/src/main/java/world/bentobox/bentobox/api/flags/AbstractFlagListener.java +++ b/src/main/java/world/bentobox/bentobox/api/flags/AbstractFlagListener.java @@ -50,7 +50,6 @@ enum Why { private BentoBox plugin = BentoBox.getInstance(); private User user = null; - private Why why; /** * @return the plugin @@ -257,12 +256,4 @@ protected IslandsManager getIslands() { protected IslandWorldManager getIWM() { return plugin.getIWM(); } - - /** - * Get why the flag was allowed or not allowed - * @return the why - reason - */ - public Why getWhy() { - return why; - } }