update things

Former-commit-id: 6d0ed42f5a16437dfc52da3efaac004dc79c526e [formerly 9e7dcf7982c6c77d1d64c8c781890f6b666ed52a]
Former-commit-id: ccee9d97166378040f662b8bcdd2fccb9591c803
This commit is contained in:
Ghost_chu committed 2018-12-04 14:35:55 +08:00
1 parent d8c4894f89
commit 15b4f53aab
1 file changed
+4 -4
@@ -22,8 +22,8 @@ public class UpdateWatcher implements Listener {
hasNewUpdate = false;
return;
}
QuickShop.instance.getLogger().info("New QuickShop release now updated on SpigotMC.org!");
QuickShop.instance.getLogger().info("Update plugin in there: https://www.spigotmc.org/resources/62575/");
QuickShop.instance.getLogger().info("New QuickShop released, now updated on SpigotMC.org!");
QuickShop.instance.getLogger().info("Update here: https://www.spigotmc.org/resources/62575/");
hasNewUpdate = true;
}
}.runTaskTimerAsynchronously(QuickShop.instance, 1, 20 * 60 * 60);
@@ -43,9 +43,9 @@ public class UpdateWatcher implements Listener {
@Override
public void run() {
if (e.getPlayer().hasPermission("quickshop.alert") && hasNewUpdate) {
e.getPlayer().sendMessage(ChatColor.GREEN + "New QuickShop release now updated on SpigotMC.org!");
e.getPlayer().sendMessage(ChatColor.GREEN + "New QuickShop released, now updated on SpigotMC.org!");
e.getPlayer().sendMessage(
ChatColor.GREEN + "Update plugin in there: https://www.spigotmc.org/resources/62575/");
ChatColor.GREEN + "Update here: https://www.spigotmc.org/resources/62575/");
}
}