diff options
author | t00thpick1 <t00thpick1dirko@gmail.com> | 2014-02-08 04:07:11 -0500 |
---|---|---|
committer | Travis Watkins <amaranth@ubuntu.com> | 2014-02-08 03:11:46 -0600 |
commit | 9080288a36daa6bbb6c3ca885f2d56f0538e8076 (patch) | |
tree | e05de637164f3db83b95495582771f238a14f321 /src/main/javadoc | |
parent | 0c3527bfd2a0edfe84da50f9e5f26751ef1378bc (diff) | |
download | bukkit-9080288a36daa6bbb6c3ca885f2d56f0538e8076.tar bukkit-9080288a36daa6bbb6c3ca885f2d56f0538e8076.tar.gz bukkit-9080288a36daa6bbb6c3ca885f2d56f0538e8076.tar.lz bukkit-9080288a36daa6bbb6c3ca885f2d56f0538e8076.tar.xz bukkit-9080288a36daa6bbb6c3ca885f2d56f0538e8076.zip |
[Bleeding] Simplify command handling.
Instead of duplicating code to handle two pools of commands
we can instead just add the fallback commands after all
plugin commands are loaded and achieve the same effect. We
also now always register the direct address of a command
to ensure it is always possible to access it.
In addition, aliases can be determined by whether or not
the command label of the command matches the command address,
thereby rendering the aliases HashSet redundant.
Diffstat (limited to 'src/main/javadoc')
0 files changed, 0 insertions, 0 deletions