From 9eff5b7245ba9b20a8145eab71910168ad082bc9 Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Wed, 8 Jul 2015 07:51:33 +1200 Subject: [PATCH] Perks: Forgot to include this in last commit, no harm done. --- .../src/nautilus/game/arcade/game/Game.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/Game.java b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/Game.java index 4ae370d96..abe4d740c 100644 --- a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/Game.java +++ b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/Game.java @@ -498,7 +498,11 @@ public abstract class Game implements Listener UtilServer.getServer().getPluginManager().registerEvents(kit, Manager.getPlugin()); for (Perk perk : kit.GetPerks()) - UtilServer.getServer().getPluginManager().registerEvents(perk, Manager.getPlugin()); + { + UtilServer.getServer().getPluginManager() + .registerEvents(perk, Manager.getPlugin()); + perk.registeredEvents(); + } } }