Disable first time help message for now.

This commit is contained in:
sk89q 2014-07-19 15:40:44 -07:00
parent 15b173dca6
commit b752604c03

View File

@ -61,6 +61,9 @@ import java.util.TimeZone;
* @author sk89q * @author sk89q
*/ */
public class LocalSession { public class LocalSession {
private static final boolean SHOW_HELP_MESSAGE = false;
public static int MAX_HISTORY_SIZE = 15; public static int MAX_HISTORY_SIZE = 15;
public static int EXPIRATION_GRACE = 600000; public static int EXPIRATION_GRACE = 600000;
@ -584,8 +587,9 @@ public class LocalSession {
* *
* @param player * @param player
*/ */
@SuppressWarnings({"PointlessBooleanExpression", "ConstantConditions"})
public void tellVersion(Actor player) { public void tellVersion(Actor player) {
if (config.showHelpInfo) { if (config.showHelpInfo && SHOW_HELP_MESSAGE) {
if (!beenToldVersion) { if (!beenToldVersion) {
StyledFragment fragment = new StyledFragment(Style.GRAY_DARK); 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"); fragment.append("Need help with WorldEdit? Ask us on IRC (irc.esper.net #sk89q) or on our forums @ http://forum.enginehub.org");