Hooked up preference manager to Chat.
This commit is contained in:
parent
77f6aac860
commit
6c9a2d0a01
@ -96,7 +96,7 @@ public class Hub extends JavaPlugin implements INautilusPlugin, IRelation
|
||||
QueueManager queueManager = new QueueManager(this, clientManager, donationManager, new EloManager(this), partyManager);
|
||||
|
||||
new ServerManager(this, clientManager, donationManager, portal, partyManager, serverStatusManager, hubManager, new StackerManager(hubManager), queueManager);
|
||||
new Chat(this, clientManager, null, serverStatusManager.getCurrentServerName());
|
||||
new Chat(this, clientManager, preferenceManager, serverStatusManager.getCurrentServerName());
|
||||
new MemoryFix(this);
|
||||
new FileUpdater(this, portal);
|
||||
|
||||
|
@ -66,6 +66,7 @@ import mineplex.core.elo.EloManager;
|
||||
import mineplex.core.energy.Energy;
|
||||
import mineplex.core.explosion.Explosion;
|
||||
import mineplex.core.portal.Portal;
|
||||
import mineplex.core.preferences.PreferencesManager;
|
||||
import mineplex.core.projectile.ProjectileManager;
|
||||
import mineplex.core.stats.StatsManager;
|
||||
import mineplex.core.status.ServerStatusManager;
|
||||
@ -151,7 +152,8 @@ public class ArcadeManager extends MiniPlugin implements IRelation
|
||||
|
||||
_clientManager = clientManager;
|
||||
|
||||
_chat = new Chat(plugin, _clientManager, null, serverStatusManager.getCurrentServerName());
|
||||
PreferencesManager preferences = new PreferencesManager(plugin);
|
||||
_chat = new Chat(plugin, _clientManager, preferences, serverStatusManager.getCurrentServerName());
|
||||
|
||||
_creature = creature;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user