Perks: Forgot to include this in last commit, no harm done.

This commit is contained in:
libraryaddict 2015-07-08 07:51:33 +12:00
parent 2bec753a34
commit 9eff5b7245

View File

@ -498,7 +498,11 @@ public abstract class Game implements Listener
UtilServer.getServer().getPluginManager().registerEvents(kit, Manager.getPlugin()); UtilServer.getServer().getPluginManager().registerEvents(kit, Manager.getPlugin());
for (Perk perk : kit.GetPerks()) for (Perk perk : kit.GetPerks())
UtilServer.getServer().getPluginManager().registerEvents(perk, Manager.getPlugin()); {
UtilServer.getServer().getPluginManager()
.registerEvents(perk, Manager.getPlugin());
perk.registeredEvents();
}
} }
} }