From 971908d38b2c845201c82f8397c936de36da7769 Mon Sep 17 00:00:00 2001 From: Aaron Brock Date: Tue, 28 Jul 2015 17:52:43 -0400 Subject: [PATCH] Stuff Signed-off-by: Aaron Brock --- Plugins/Mineplex.Hub/src/mineplex/hub/HubManager.java | 7 ++++++- .../src/mineplex/hub/bonuses/BonusManager.java | 4 +++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/Plugins/Mineplex.Hub/src/mineplex/hub/HubManager.java b/Plugins/Mineplex.Hub/src/mineplex/hub/HubManager.java index 2e1dbc813..ab4feea5b 100644 --- a/Plugins/Mineplex.Hub/src/mineplex/hub/HubManager.java +++ b/Plugins/Mineplex.Hub/src/mineplex/hub/HubManager.java @@ -86,6 +86,7 @@ import mineplex.core.task.TaskManager; import mineplex.core.treasure.TreasureManager; import mineplex.core.updater.UpdateType; import mineplex.core.updater.event.UpdateEvent; +import mineplex.hub.bonuses.BonusManager; import mineplex.hub.commands.ForcefieldRadius; import mineplex.hub.commands.GadgetToggle; import mineplex.hub.commands.GameModeCommand; @@ -198,7 +199,11 @@ public class HubManager extends MiniClientPlugin new NotificationManager(getPlugin(), clientManager); ((CraftWorld)Bukkit.getWorlds().get(0)).getHandle().pvpMode = true; - + + + new BonusManager(plugin, clientManager, donationManager); + + // NotificationManager notificationManager = new NotificationManager(plugin, clientManager, donationManager); // new MailManager(_plugin, notificationManager); diff --git a/Plugins/Mineplex.Hub/src/mineplex/hub/bonuses/BonusManager.java b/Plugins/Mineplex.Hub/src/mineplex/hub/bonuses/BonusManager.java index a4802e323..1f2b34058 100644 --- a/Plugins/Mineplex.Hub/src/mineplex/hub/bonuses/BonusManager.java +++ b/Plugins/Mineplex.Hub/src/mineplex/hub/bonuses/BonusManager.java @@ -235,7 +235,7 @@ public class BonusManager extends MiniDbClientPlugin { } @Override - public void processLoginResultSet(String playerName, ResultSet resultSet) throws SQLException + public void processLoginResultSet(String playerName, int accountId, ResultSet resultSet) throws SQLException { Set(playerName, _repository.loadClientInformation(resultSet)); } @@ -250,5 +250,7 @@ public class BonusManager extends MiniDbClientPlugin { { return _repository; } + + } \ No newline at end of file