From 729d72e6bd1c4f2c539f8ed8fbad4bfa6b37ddc1 Mon Sep 17 00:00:00 2001 From: sigonasr2 Date: Mon, 9 Jan 2017 23:09:15 -0600 Subject: [PATCH] Increase time before server attempts a restart. --- AutoPluginUpdate.jar | Bin 14333 -> 14333 bytes .../AutoPluginUpdate/AutoPluginUpdate.java | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/AutoPluginUpdate.jar b/AutoPluginUpdate.jar index efe15c4fe6e0cf9fe4630d0b44960ab7f42450da..f58d08c883853b58303e52a3f5c28afd95b6242c 100644 GIT binary patch delta 1849 zcmV-92gdmQZ~bo!P)h>@3IG5I004cokqjvUe6+DQ3k3p9w6jD7D+2;dw6k#tAp;0Z zv?)sX6?r+cnhV+je1te=vC&m`+cQhBEK+Qf->on-^%r z;ETmFPmIY5FRCzQk`c)aNeYH&-tz2{IHODD{>@XHlHt&0ecCJ;mP4(Y7H-ult8gTY z8jOBGIN5B=avj&^^+3ysVhQgnxW+KNo|bMdSv8T?{IE!oe_!P#*Rq#YEaN(j-r~B5 z;g5}EX<7#0=eSumgp<%LtLD`+?VQ@maBjIS{@-EXa(mm+_R}mkjJ)oOOivfQUPPi` z_*g{^5fXgV>lZR-n!?T++;Ie5IA1UveyFq+e93TddsVtk0%Z)5;}AWPqak|eJ4|og zv>T_D(b{?Be-5IzXww0e{-d-4Um;9~yJ)8dO4yAaTB+e{0DqEH>e>zLX<#sZU=@#b z;5J59F&e^r1LsPIyp5+uOoG!l@H+@J67>4EV>f}hi zCCG)_EZPSY;)nPIpW-u;#7XOO+@Qkl^D*f6A5cpJ1PTBE2nYa7v?)pghNITd1ONcC z3IG5~lW-7ve*;K8Yds%t_0B7=?TirWjN`SVzrugvIO_ZDhH?s69Fs|Q^Pb=5eZF_| z%U`#D0&p5%NvL5s>*$44$?yugnHuq2Ytp~HR8qOC?GnUu^Pa0(%Vtiqmo$6KvIDt< zFhg{KFY%PY%|dEoZb8et66zRYo6;%IH2IvNG1R&9f4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gk;FC^So=>%QD`uvkIs8t!HI2I?(zeT}OXBz{EyZ=1PTBE2nYZ#s0xznwgEo2rK=y9D diff --git a/src/sig/plugin/AutoPluginUpdate/AutoPluginUpdate.java b/src/sig/plugin/AutoPluginUpdate/AutoPluginUpdate.java index 7e25f56..96b716e 100644 --- a/src/sig/plugin/AutoPluginUpdate/AutoPluginUpdate.java +++ b/src/sig/plugin/AutoPluginUpdate/AutoPluginUpdate.java @@ -109,7 +109,7 @@ public class AutoPluginUpdate extends JavaPlugin implements Listener{ for (int i=0;i{Bukkit.shutdown();}, 40); + Bukkit.getScheduler().runTaskLater(Bukkit.getPluginManager().getPlugin("AutoPluginUpdate"), ()->{Bukkit.shutdown();}, 60); } } } @@ -140,7 +140,7 @@ public class AutoPluginUpdate extends JavaPlugin implements Listener{ for (int i=0;i{Bukkit.shutdown();}, 40); + Bukkit.getScheduler().runTaskLater(Bukkit.getPluginManager().getPlugin("AutoPluginUpdate"), ()->{Bukkit.shutdown();}, 60); } },20*180*((Bukkit.getOnlinePlayers().size()==0)?0:1)+1);