From 8cda6fb6c42e668167239d1fab194697c013a24b Mon Sep 17 00:00:00 2001 From: ChrisLane Date: Thu, 10 Sep 2015 00:21:43 +0200 Subject: [PATCH] Small spelling fix quite -> quiet --- src/main/java/kcauldron/KCauldronConfig.java | 6 +++--- src/main/java/kcauldron/updater/KCauldronUpdater.java | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/main/java/kcauldron/KCauldronConfig.java b/src/main/java/kcauldron/KCauldronConfig.java index b9aed38..1416047 100644 --- a/src/main/java/kcauldron/KCauldronConfig.java +++ b/src/main/java/kcauldron/KCauldronConfig.java @@ -19,8 +19,8 @@ public class KCauldronConfig extends ConfigBase { "updatechecker.autoinstall", false, "Install updates without confirming"); public BoolSetting updatecheckerAutorestart = new BoolSetting(this, "updatechecker.autorestart", false, "Restart server after updating without confirming (set restart script in spigot.yml)"); - public BoolSetting updatecheckerQuite = new BoolSetting(this, - "updatechecker.quite", false, "Print less info during update"); + public BoolSetting updatecheckerQuiet = new BoolSetting(this, + "updatechecker.quiet", false, "Print less info during update"); public BoolSetting loggingMaterialInjection = new BoolSetting(this, "logging.materialInjection", false, "Log material injection event"); @@ -37,7 +37,7 @@ public class KCauldronConfig extends ConfigBase { register(updatecheckerSymlinks); register(updatecheckerAutoinstall); register(updatecheckerAutorestart); - register(updatecheckerQuite); + register(updatecheckerQuiet); register(loggingMaterialInjection); register(loggingClientModList); register(commonAllowNetherPortal); diff --git a/src/main/java/kcauldron/updater/KCauldronUpdater.java b/src/main/java/kcauldron/updater/KCauldronUpdater.java index c8af30c..87eaac7 100644 --- a/src/main/java/kcauldron/updater/KCauldronUpdater.java +++ b/src/main/java/kcauldron/updater/KCauldronUpdater.java @@ -94,7 +94,7 @@ public class KCauldronUpdater implements Runnable, IVersionCheckCallback { @Override public void run() { - if (!MinecraftServer.kcauldronConfig.updatecheckerQuite.getValue()) { + if (!MinecraftServer.kcauldronConfig.updatecheckerQuiet.getValue()) { mSender.sendMessage(ChatColor.DARK_PURPLE + "Retrieving latest KBootstrap version..."); } @@ -108,10 +108,10 @@ public class KCauldronUpdater implements Runnable, IVersionCheckCallback { @Override public void newVersion(String kbootstrapVersion) { - boolean quite = MinecraftServer.kcauldronConfig.updatecheckerQuite + boolean quiet = MinecraftServer.kcauldronConfig.updatecheckerQuiet .getValue(); try { - if (!quite) { + if (!quiet) { mSender.sendMessage(ChatColor.DARK_PURPLE + "Downloading KBootstrap " + kbootstrapVersion + "..."); } @@ -120,7 +120,7 @@ public class KCauldronUpdater implements Runnable, IVersionCheckCallback { download( "https://api.prok.pw/repo/blob/pw.prok/KBootstrap/latest/app", kbootstrap); - if (!quite) { + if (!quiet) { mSender.sendMessage(ChatColor.DARK_PURPLE + "Installing KCauldron " + mVersion + " via KBootstrap " + kbootstrapVersion + "..."); @@ -159,7 +159,7 @@ public class KCauldronUpdater implements Runnable, IVersionCheckCallback { + "Failed to install KCauldron " + mVersion); } } catch (Exception e) { - if (!quite) { + if (!quiet) { e.printStackTrace(); } if (mSender != null) {