diff --git a/src/cc/co/evenprime/bukkit/nocheat/NoCheat.java b/src/cc/co/evenprime/bukkit/nocheat/NoCheat.java index e0875f12..b4ed6c70 100644 --- a/src/cc/co/evenprime/bukkit/nocheat/NoCheat.java +++ b/src/cc/co/evenprime/bukkit/nocheat/NoCheat.java @@ -345,7 +345,7 @@ public class NoCheat extends JavaPlugin { private String getActiveChecksAsString() { return (movingCheck.isActive() ? movingCheck.getName() + " " : "") + - (!movingCheck.allowFlying ? "flying " : "") + + (movingCheck.isActive() && !movingCheck.allowFlying ? "flying " : "") + (speedhackCheck.isActive() ? speedhackCheck.getName() + " " : "") + (airbuildCheck.isActive() ? airbuildCheck.getName() + " " : "") + (bedteleportCheck.isActive() ? bedteleportCheck.getName() + " " : ""); diff --git a/src/cc/co/evenprime/bukkit/nocheat/NoCheatConfiguration.java b/src/cc/co/evenprime/bukkit/nocheat/NoCheatConfiguration.java index 264a49b8..aa2a92a2 100644 --- a/src/cc/co/evenprime/bukkit/nocheat/NoCheatConfiguration.java +++ b/src/cc/co/evenprime/bukkit/nocheat/NoCheatConfiguration.java @@ -104,7 +104,7 @@ public class NoCheatConfiguration { plugin.movingCheck.logMessage = c.getString("moving.logmessage", plugin.movingCheck.logMessage); plugin.movingCheck.summaryMessage = c.getString("moving.summarymessage", plugin.movingCheck.summaryMessage); - plugin.movingCheck.allowFlying = c.getBoolean("moving.allowFlying", plugin.movingCheck.allowFlying); + plugin.movingCheck.allowFlying = c.getBoolean("moving.allowflying", plugin.movingCheck.allowFlying); plugin.speedhackCheck.actions[0] = stringToActions(c.getString("speedhack.action.low"), plugin.speedhackCheck.actions[0]); plugin.speedhackCheck.actions[1] = stringToActions(c.getString("speedhack.action.med"), plugin.speedhackCheck.actions[1]); @@ -261,7 +261,7 @@ public class NoCheatConfiguration { w.write(" logmessage: \"" + plugin.movingCheck.logMessage+"\""); w.newLine(); w.write(" summarymessage: \"" + plugin.movingCheck.summaryMessage+"\""); w.newLine(); w.write("# Should (normal speed) flying be generally allowed?"); w.newLine(); - w.write(" allowflying: \"" + plugin.movingCheck.allowFlying+"\""); w.newLine(); + w.write(" allowflying: " + plugin.movingCheck.allowFlying); w.newLine(); w.write("# Moving Action, one or more of 'loglow logmed loghigh cancel'"); w.newLine(); w.write(" action:"); w.newLine(); w.write(" low: "+actionsToString(plugin.movingCheck.actions[0])); w.newLine();