Perks: Forgot to include this in last commit, no harm done.
This commit is contained in:
parent
2bec753a34
commit
9eff5b7245
@ -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();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user