|
|
@ -237,6 +237,7 @@ class CommandDispatcher
|
|
|
|
* Gets the command list (cloned to avoid modifications)
|
|
|
|
* Gets the command list (cloned to avoid modifications)
|
|
|
|
* @return The current cloned command list
|
|
|
|
* @return The current cloned command list
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
@SuppressWarnings("unchecked")
|
|
|
|
public HashMap<String, InvokableMethod> getCommandList()
|
|
|
|
public HashMap<String, InvokableMethod> getCommandList()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
return (HashMap<String, InvokableMethod>) commandList.clone();
|
|
|
|
return (HashMap<String, InvokableMethod>) commandList.clone();
|
|
|
@ -246,6 +247,7 @@ class CommandDispatcher
|
|
|
|
* Gets the shorthands list (cloned to avoid edits)
|
|
|
|
* Gets the shorthands list (cloned to avoid edits)
|
|
|
|
* @return The current cloned short list
|
|
|
|
* @return The current cloned short list
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
@SuppressWarnings("unchecked")
|
|
|
|
public HashMap<String, String> getShortList()
|
|
|
|
public HashMap<String, String> getShortList()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
return (HashMap<String, String>) shortList.clone();
|
|
|
|
return (HashMap<String, String>) shortList.clone();
|
|
|
|