Because MobArena doesn't currently offer a way to register pre-instantiated subcommands, the MobArenaStats subcommands all resort to the Singleton anti-pattern to get a hold of their dependencies via the main plugin class. If we could get rid of the Singletons, it would be much easier to test command execution.
Because MobArena doesn't currently offer a way to register pre-instantiated subcommands, the MobArenaStats subcommands all resort to the Singleton anti-pattern to get a hold of their dependencies via the main plugin class. If we could get rid of the Singletons, it would be much easier to test command execution.
Depends on https://github.com/garbagemule/MobArena/issues/675