Open WizardCM opened 11 years ago
The commands can also be cleaned up further, a lot of things don't require a Player object and can be done with CommandSender. I just copy-pasted the stuff from onCommand ()
This was mostly done in https://github.com/WMCAlliance/BukkitIRCd/commit/87a1f55fdc710b2fba52ef0be36e57650a8a3788 (from the config-rewrite branch) however there's still lots to do.
I messed around with this a couple months back, but there's a lot of duplicate & unused code so it'd be great if someone could clean it up. Maybe, similar to the new commands structure, make a folder for it with each .java file being the name of each config?