Fix constructors
This commit is contained in:
parent
b8d2f784c7
commit
030157fdb5
@ -123,7 +123,7 @@ public class ClansHub extends JavaPlugin
|
|||||||
InventoryManager inventoryManager = new InventoryManager(this, clientManager);
|
InventoryManager inventoryManager = new InventoryManager(this, clientManager);
|
||||||
HologramManager hologramManager = new HologramManager(this, packetHandler);
|
HologramManager hologramManager = new HologramManager(this, packetHandler);
|
||||||
CastleManager castleManager = new CastleManager(this, clientManager, hologramManager, false);
|
CastleManager castleManager = new CastleManager(this, clientManager, hologramManager, false);
|
||||||
PetManager petManager = new PetManager(this, clientManager, donationManager, inventoryManager, disguiseManager, creature, blockRestore, castleManager);
|
PetManager petManager = new PetManager(this, clientManager, donationManager, inventoryManager, disguiseManager, creature, blockRestore);
|
||||||
PollManager pollManager = new PollManager(this, clientManager, donationManager);
|
PollManager pollManager = new PollManager(this, clientManager, donationManager);
|
||||||
|
|
||||||
//Main Modules
|
//Main Modules
|
||||||
|
@ -147,7 +147,7 @@ public class Hub extends JavaPlugin implements IRelation
|
|||||||
_npcManager = npcManager;
|
_npcManager = npcManager;
|
||||||
InventoryManager inventoryManager = new InventoryManager(this, clientManager);
|
InventoryManager inventoryManager = new InventoryManager(this, clientManager);
|
||||||
CastleManager castleManager = new CastleManager(this, clientManager, hologramManager, true);
|
CastleManager castleManager = new CastleManager(this, clientManager, hologramManager, true);
|
||||||
PetManager petManager = new PetManager(this, clientManager, donationManager, inventoryManager, disguiseManager, creature, blockRestore, castleManager);
|
PetManager petManager = new PetManager(this, clientManager, donationManager, inventoryManager, disguiseManager, creature, blockRestore);
|
||||||
PollManager pollManager = new PollManager(this, clientManager, donationManager);
|
PollManager pollManager = new PollManager(this, clientManager, donationManager);
|
||||||
//new TournamentManager(this, clientManager, donationManager);
|
//new TournamentManager(this, clientManager, donationManager);
|
||||||
|
|
||||||
|
@ -202,7 +202,7 @@ public class Arcade extends JavaPlugin
|
|||||||
//Inventory
|
//Inventory
|
||||||
InventoryManager inventoryManager = new InventoryManager(this, _clientManager);
|
InventoryManager inventoryManager = new InventoryManager(this, _clientManager);
|
||||||
CastleManager castleManager = new CastleManager(this, _clientManager, hologramManager, false);
|
CastleManager castleManager = new CastleManager(this, _clientManager, hologramManager, false);
|
||||||
PetManager petManager = new PetManager(this, _clientManager, _donationManager, inventoryManager, disguiseManager, creature, blockRestore, castleManager);
|
PetManager petManager = new PetManager(this, _clientManager, _donationManager, inventoryManager, disguiseManager, creature, blockRestore);
|
||||||
MountManager mountManager = new MountManager(this, _clientManager, _donationManager, blockRestore, disguiseManager);
|
MountManager mountManager = new MountManager(this, _clientManager, _donationManager, blockRestore, disguiseManager);
|
||||||
GadgetManager gadgetManager = new GadgetManager(this, _clientManager, _donationManager, inventoryManager, mountManager, petManager, preferenceManager, disguiseManager, blockRestore, projectileManager, achievementManager, packetHandler, hologramManager, incognito, castleManager);
|
GadgetManager gadgetManager = new GadgetManager(this, _clientManager, _donationManager, inventoryManager, mountManager, petManager, preferenceManager, disguiseManager, blockRestore, projectileManager, achievementManager, packetHandler, hologramManager, incognito, castleManager);
|
||||||
ThankManager thankManager = new ThankManager(this, _clientManager, _donationManager);
|
ThankManager thankManager = new ThankManager(this, _clientManager, _donationManager);
|
||||||
|
@ -129,7 +129,7 @@ public class Hub extends JavaPlugin
|
|||||||
// Inventory
|
// Inventory
|
||||||
CastleManager castleManager = new CastleManager(this, _clientManager, hologramManager, false);
|
CastleManager castleManager = new CastleManager(this, _clientManager, hologramManager, false);
|
||||||
InventoryManager inventoryManager = new InventoryManager(this, _clientManager);
|
InventoryManager inventoryManager = new InventoryManager(this, _clientManager);
|
||||||
PetManager petManager = new PetManager(this, _clientManager, _donationManager, inventoryManager, disguiseManager, creature, blockRestore, castleManager);
|
PetManager petManager = new PetManager(this, _clientManager, _donationManager, inventoryManager, disguiseManager, creature, blockRestore);
|
||||||
MountManager mountManager = new MountManager(this, _clientManager, _donationManager, blockRestore, disguiseManager);
|
MountManager mountManager = new MountManager(this, _clientManager, _donationManager, blockRestore, disguiseManager);
|
||||||
GadgetManager gadgetManager = new GadgetManager(this, _clientManager, _donationManager, inventoryManager, mountManager, petManager,
|
GadgetManager gadgetManager = new GadgetManager(this, _clientManager, _donationManager, inventoryManager, mountManager, petManager,
|
||||||
preferenceManager, disguiseManager, blockRestore, projectileManager, achievementManager, packetHandler, hologramManager, incognito, castleManager);
|
preferenceManager, disguiseManager, blockRestore, projectileManager, achievementManager, packetHandler, hologramManager, incognito, castleManager);
|
||||||
|
@ -252,7 +252,7 @@ public class GemHunters extends JavaPlugin
|
|||||||
// :(
|
// :(
|
||||||
CastleManager castleManager = new CastleManager(this, clientManager, hologramManager, false);
|
CastleManager castleManager = new CastleManager(this, clientManager, hologramManager, false);
|
||||||
MountManager mountManager = new MountManager(this, clientManager, donationManager, blockRestore, disguiseManager);
|
MountManager mountManager = new MountManager(this, clientManager, donationManager, blockRestore, disguiseManager);
|
||||||
PetManager petManager = new PetManager(this, clientManager, donationManager, inventoryManager, disguiseManager, creature, blockRestore, castleManager);
|
PetManager petManager = new PetManager(this, clientManager, donationManager, inventoryManager, disguiseManager, creature, blockRestore);
|
||||||
ProjectileManager projectileManager = new ProjectileManager(this);
|
ProjectileManager projectileManager = new ProjectileManager(this);
|
||||||
GadgetManager gadgetManager = new GadgetManager(this, clientManager, donationManager, inventoryManager, mountManager, petManager, preferenceManager, disguiseManager, blockRestore, projectileManager, achievementManager, packetHandler, hologramManager, incognito, castleManager);
|
GadgetManager gadgetManager = new GadgetManager(this, clientManager, donationManager, inventoryManager, mountManager, petManager, preferenceManager, disguiseManager, blockRestore, projectileManager, achievementManager, packetHandler, hologramManager, incognito, castleManager);
|
||||||
ThankManager thankManager = new ThankManager(this, clientManager, donationManager);
|
ThankManager thankManager = new ThankManager(this, clientManager, donationManager);
|
||||||
|
Loading…
Reference in New Issue
Block a user