Merge branch 'master' of ssh://184.154.0.242:7999/min/Mineplex

This commit is contained in:
Cheese 2015-07-08 13:55:16 +10:00
commit 480a29b874

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();
}
} }
} }