From b752604c03ee2603233f97e699c02cfe006f4d9b Mon Sep 17 00:00:00 2001 From: sk89q Date: Sat, 19 Jul 2014 15:40:44 -0700 Subject: [PATCH] Disable first time help message for now. --- src/main/java/com/sk89q/worldedit/LocalSession.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/sk89q/worldedit/LocalSession.java b/src/main/java/com/sk89q/worldedit/LocalSession.java index baf6fc8ee..03647eb1c 100644 --- a/src/main/java/com/sk89q/worldedit/LocalSession.java +++ b/src/main/java/com/sk89q/worldedit/LocalSession.java @@ -61,6 +61,9 @@ * @author sk89q */ public class LocalSession { + + private static final boolean SHOW_HELP_MESSAGE = false; + public static int MAX_HISTORY_SIZE = 15; public static int EXPIRATION_GRACE = 600000; @@ -584,8 +587,9 @@ public void setLastScript(String lastScript) { * * @param player */ + @SuppressWarnings({"PointlessBooleanExpression", "ConstantConditions"}) public void tellVersion(Actor player) { - if (config.showHelpInfo) { + if (config.showHelpInfo && SHOW_HELP_MESSAGE) { if (!beenToldVersion) { StyledFragment fragment = new StyledFragment(Style.GRAY_DARK); fragment.append("Need help with WorldEdit? Ask us on IRC (irc.esper.net #sk89q) or on our forums @ http://forum.enginehub.org");