From 20b688645047c93889022882e06559e1ed1c140c Mon Sep 17 00:00:00 2001 From: boy0001 Date: Thu, 8 Jan 2015 19:50:24 +1100 Subject: [PATCH] Fix chunk refresh occurring when not necessary --- .../java/com/intellectualcrafters/plot/util/SetBlockFast.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/PlotSquared/src/main/java/com/intellectualcrafters/plot/util/SetBlockFast.java b/PlotSquared/src/main/java/com/intellectualcrafters/plot/util/SetBlockFast.java index 5545168a9..089566375 100644 --- a/PlotSquared/src/main/java/com/intellectualcrafters/plot/util/SetBlockFast.java +++ b/PlotSquared/src/main/java/com/intellectualcrafters/plot/util/SetBlockFast.java @@ -88,6 +88,9 @@ public class SetBlockFast { * @param player Player whose chunks we're updating */ public static void update(final org.bukkit.entity.Player player) { + if (!PlotHelper.canSetFast) { + return; + } if (!PlotHelper.canSendChunk) { final int distance = Bukkit.getViewDistance();