mirror of
https://github.com/EarthMC/QuickShop-Reremake.git
synced 2026-11-25 18:09:48 -05:00
Updater shouldn't use WARNING logger level.
Former-commit-id: d8794f43883e8c7e82edcf6807d0916f966e62ed [formerly 516e1c39bc86538c529e3132298e50bac26d3bd0] Former-commit-id: 5cb35c92ae4655ef7081272961f466a509a8a3b5
This commit is contained in:
1 parent
21debe4397
commit
761a2f9011
1 file changed
+5
-5
@@ -36,8 +36,8 @@ public class UpdateWatcher implements Listener {
|
||||
hasNewUpdate = true;
|
||||
|
||||
if (!info.getIsBeta()) {
|
||||
QuickShop.instance.getLogger().warning("A new version of QuickShop has been released!");
|
||||
QuickShop.instance.getLogger().warning("Update here: https://www.spigotmc.org/resources/62575/");
|
||||
QuickShop.instance.getLogger().info("A new version of QuickShop has been released!");
|
||||
QuickShop.instance.getLogger().info("Update here: https://www.spigotmc.org/resources/62575/");
|
||||
|
||||
Bukkit.getOnlinePlayers().forEach(player -> {
|
||||
if (player.isOp()) {
|
||||
@@ -48,9 +48,9 @@ public class UpdateWatcher implements Listener {
|
||||
}
|
||||
});
|
||||
} else {
|
||||
QuickShop.instance.getLogger().warning("A new BETA version of QuickShop is available!");
|
||||
QuickShop.instance.getLogger().warning("Update here: https://www.spigotmc.org/resources/62575/");
|
||||
QuickShop.instance.getLogger().warning("This is a BETA version, which means you should use with caution.");
|
||||
QuickShop.instance.getLogger().info("A new BETA version of QuickShop is available!");
|
||||
QuickShop.instance.getLogger().info("Update here: https://www.spigotmc.org/resources/62575/");
|
||||
QuickShop.instance.getLogger().info("This is a BETA version, which means you should use with caution.");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user