From b53bcc041c84ce1b021dee9b98bba3dcaf93de58 Mon Sep 17 00:00:00 2001 From: alisolarflare Date: Sat, 5 Nov 2016 09:58:14 -0400 Subject: [PATCH] adjusted dickmode check --- src/alisolarflare/creativeboundaries/PlotChangeListener.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/alisolarflare/creativeboundaries/PlotChangeListener.java b/src/alisolarflare/creativeboundaries/PlotChangeListener.java index 5692cca..c354daf 100644 --- a/src/alisolarflare/creativeboundaries/PlotChangeListener.java +++ b/src/alisolarflare/creativeboundaries/PlotChangeListener.java @@ -14,19 +14,17 @@ import com.palmergames.bukkit.towny.object.Resident; import com.palmergames.bukkit.towny.object.Town; public class PlotChangeListener implements Listener{ - private boolean dickmode; private List cbCreatives = new ArrayList(); public CreativeBoundariesModule plugin; public PlotChangeListener(CreativeBoundariesModule plugin){ this.plugin = plugin; - this.dickmode = plugin.dickmode; this.cbCreatives = plugin.cbCreatives; } @EventHandler public void onPlayerPlotChange(PlayerChangePlotEvent plotEvent){ Player player = plotEvent.getPlayer(); player.sendMessage("PING"); - if (dickmode == false){ + if (plugin.dickmode == false){ debug(player, "dickies"); return; }