Fix repeated refreshes on lots of faction update triggers
This commit is contained in:
parent
0b1ed5714a
commit
576ecd8fce
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user