=Config file bug fixes

This commit is contained in:
Alex
2019-08-09 23:23:43 -04:00
parent 81d3bd13b0
commit 2c486d7da1
12 changed files with 43 additions and 50 deletions
+4 -1
View File
@@ -41,7 +41,10 @@ public class SubCommandFramework
}
catch(Exception e)
{
return new SubCommandFormattable("That's not a valid subcommand!");
String help = Stats.instance.getHelpText(input.key);
if(help != null)
return new SubCommandFormattable(help);
return new SubCommandFormattable("Something has gone very wrong.");
}
}
}