mirror of
https://github.com/garbagemule/MobArena.git
synced 2024-11-27 04:55:25 +01:00
Fix double-print for loaded arenas.
This commit is contained in:
parent
d92e3e8925
commit
e99a2f3d44
@ -583,7 +583,6 @@ public class ArenaMasterImpl implements ArenaMaster
|
||||
|
||||
// Finally, add it to the arena list.
|
||||
arenas.add(arena);
|
||||
Messenger.info("Loaded arena '" + arenaname + "'.");
|
||||
return arena;
|
||||
}
|
||||
|
||||
@ -641,6 +640,10 @@ public class ArenaMasterImpl implements ArenaMaster
|
||||
loadClasses();
|
||||
loadArenas();
|
||||
|
||||
for (Arena arena : arenas) {
|
||||
Messenger.info("Loaded arena '" + arena.configName() + "'");
|
||||
}
|
||||
|
||||
// If MobArena was enabled, re-enable it after updating.
|
||||
if (wasEnabled) {
|
||||
setEnabled(true);
|
||||
|
Loading…
Reference in New Issue
Block a user