Formatted

Ticket #2 reports a problem with
/aa addspawn {block|mob} fs=1 rs=500 ds=500 index=1

The problem is that respawning (rs) isn't working.

So I formatted these classes to make them slightly easier to read.
dded ArenaFactory to the registration process.

The old registration process:
BattleArena.registerCompetition(Plugin p, String n, String cmd, Class<?
extends Arena> arenaClass);

The problem is that this doesn't support custom constructors for your
arenaClass. You can only use an empty constructor.

The new registration process:
Same as the old way... except you can choose to pass either your
CustomArena.class or an instance of ArenaFactory.

Using an ArenaFactory will allow you to use custom constructors for
your CustomArena.class

overloading registerCompetition() to accept a Class or ArenaFactory was
done to retain backwards compatibility. However, internally, BattleArena
convert any Class argument into an ArenaFactory, and use the factory to
create new arenas.
BattleArena version 3.9.8