Checks if a Global command exists. @param commandName The name of the command to check for. @return true if the command exists, false otherwise. @author Allison Smith (Cyanite)
(String commandName)
| 329 | * @author Allison Smith (Cyanite) |
| 330 | */ |
| 331 | private boolean checkGlobal(String commandName) { |
| 332 | if (globalCommands.containsKey(commandName)) { |
| 333 | if (globalCommands.get(commandName).isDebug()) { |
| 334 | return this.isDebug(); |
| 335 | } else { |
| 336 | return true; |
| 337 | } |
| 338 | } else { |
| 339 | return false; |
| 340 | } |
| 341 | } |
| 342 | |
| 343 | private ArrayList<String> formatCommand(String commandName) { |
| 344 | String command; |
no test coverage detected