Allow reuse of ReportManager instance (for later use).
This commit is contained in:
parent
3be6030a5d
commit
5cb91bb315
@ -141,8 +141,9 @@ public class Arcade extends JavaPlugin
|
||||
Chat chat = new Chat(this, _clientManager, preferenceManager, achievementManager, serverStatusManager.getCurrentServerName());
|
||||
new MessageManager(this, _clientManager, preferenceManager, ignoreManager, punish, friendManager, chat);
|
||||
SnapshotManager snapshotManager = new SnapshotManager();
|
||||
ReportManager reportManager = new ReportManager(this, preferenceManager, statsManager, snapshotManager, serverStatusManager.getCurrentServerName());
|
||||
new SnapshotPlugin(this, snapshotManager);
|
||||
new ReportPlugin(this, new ReportManager(this, preferenceManager, statsManager, snapshotManager, serverStatusManager.getCurrentServerName()));
|
||||
new ReportPlugin(this, reportManager);
|
||||
|
||||
BlockRestore blockRestore = new BlockRestore(this);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user