From 576ecd8fce788ca47dcbf312a53401efb22d3e97 Mon Sep 17 00:00:00 2001 From: Mike Primm Date: Fri, 3 Jan 2014 18:18:20 -0600 Subject: [PATCH] Fix repeated refreshes on lots of faction update triggers --- src/main/java/org/dynmap/factions/DynmapFactionsPlugin.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/org/dynmap/factions/DynmapFactionsPlugin.java b/src/main/java/org/dynmap/factions/DynmapFactionsPlugin.java index 847d706..8b671e7 100644 --- a/src/main/java/org/dynmap/factions/DynmapFactionsPlugin.java +++ b/src/main/java/org/dynmap/factions/DynmapFactionsPlugin.java @@ -165,6 +165,7 @@ public class DynmapFactionsPlugin extends JavaPlugin { if(pending == null) { FactionsUpdate upd = new FactionsUpdate(); upd.runonce = true; + pending = upd; getServer().getScheduler().scheduleSyncDelayedTask(this, upd, 20); } }