Fix preferences menu interaction in Clans{,Hub}

This commit is contained in:
cnr 2016-08-25 02:26:42 -05:00
parent 77e0090531
commit 8617572980
2 changed files with 7 additions and 2 deletions

View File

@ -67,6 +67,7 @@ import mineplex.core.hologram.HologramManager;
import mineplex.core.incognito.IncognitoManager;
import mineplex.core.incognito.events.IncognitoStatusChangeEvent;
import mineplex.core.inventory.InventoryManager;
import mineplex.core.menu.MenuManager;
import mineplex.core.movement.Movement;
import mineplex.core.npc.NpcManager;
import mineplex.core.packethandler.PacketHandler;
@ -298,7 +299,8 @@ public class ClansManager extends MiniClientPlugin<ClientClan>implements IRelati
new SupplyDropManager(plugin, this);
new InvseeManager(this);
new MenuManager(plugin);
_explosion = Managers.get(Explosion.class);
_warPointEvasion = new WarPointEvasion(plugin);

View File

@ -41,6 +41,7 @@ import mineplex.core.hologram.HologramManager;
import mineplex.core.incognito.IncognitoManager;
import mineplex.core.incognito.events.IncognitoHidePlayerEvent;
import mineplex.core.inventory.InventoryManager;
import mineplex.core.menu.MenuManager;
import mineplex.core.message.PrivateMessageEvent;
import mineplex.core.mount.Mount;
import mineplex.core.mount.MountManager;
@ -228,7 +229,9 @@ public class HubManager extends MiniPlugin
}
new CosmeticManager(_plugin, clientManager, donationManager, _inventoryManager, _gadgetManager, _mountManager, petManager, _treasureManager, boosterManager);
new MenuManager(_plugin);
_petManager = petManager;
_partyManager = partyManager;
_preferences = preferences;