diff --git a/localization.config b/localization.config index 8474259..436b248 100644 --- a/localization.config +++ b/localization.config @@ -6,8 +6,8 @@ You have %s beans!= Displays how many beans you have= [CommandHelp] -You can get help with a specific command by typing `!help command`!\nYou can also look at \nGeneral Commands: `boop, roll, choose, help, info, vote, results, showpoll, wolfram, cplus, java, beans, role, bet, yeet`= Lets you look up specific commands, or get a link to a list of all commands.= +You can get help with a specific command by typing `!help command`!\nGeneral Commands: `boop, roll, choose, help, info, vote, results, showpoll, wolfram, cplus, java, beans, role, bet, yeet`= [CommandRoll] Didn't work ;3;= diff --git a/src/commands/CommandHelp.java b/src/commands/CommandHelp.java index cb3ec42..12fc256 100644 --- a/src/commands/CommandHelp.java +++ b/src/commands/CommandHelp.java @@ -25,7 +25,7 @@ public class CommandHelp extends Command if(help == null) { - help = Localizer.Stub("You can get help with a specific command by typing `!help command`!\nYou can also look at \nGeneral Commands: `boop, roll, choose, help, info, vote, results, showpoll, wolfram, cplus, java, beans, role, bet, yeet`"); + help = Localizer.Stub("You can get help with a specific command by typing `!help command`!\nGeneral Commands: `boop, roll, choose, help, info, vote, results, showpoll, wolfram, cplus, java, beans, role, bet, yeet`"); } else { diff --git a/src/core/Localizer.java b/src/core/Localizer.java index b562d3c..39a8526 100644 --- a/src/core/Localizer.java +++ b/src/core/Localizer.java @@ -91,7 +91,7 @@ public class Localizer return input; String value = stringStore.GetKey(input); - if(value.length() < 1) + if(value == null || value.length() < 1) return input; return value;