Fix the error when either of the command handlers are null, fixes #40

These errors only happen when the plugin didn't load successfully,
you'll need to check further up in the console/server log to see what
actually caused this error.
This commit is contained in:
graywolf336
2015-01-25 23:09:25 -06:00
parent f57e500e70
commit db46e7c036
3 changed files with 14 additions and 5 deletions

View File

@ -163,6 +163,8 @@ public enum Lang {
PLAYERNOTONLINE("general"),
/** The message sent to the sender when the plugin data has been reloaded. */
PLUGINRELOADED("general"),
/** The message sent to the sender of a command when the plugin didn't start correct. */
PLUGINNOTLOADED("general"),
/** The message sent whenever the prisoners are cleared from jail(s). */
PRISONERSCLEARED("general"),
/** The format we should use when entering a record into flatfile or showing it. */