mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2026-08-01 14:39:13 -06:00
Rework the packet queue, fix some startup bugs.
This commit is contained in:
parent
1eacc62a0d
commit
473d7b201a
1 changed files with 1 additions and 1 deletions
|
|
@ -82,7 +82,7 @@ object ClassScanner {
|
|||
PlayerScripts.identifierMap[identifier] =
|
||||
PlayerScripts.PlayerScript(identifier, description, name, res.loadClass())
|
||||
}
|
||||
result.getClassesImplementing("api.StartupListener").forEach {
|
||||
result.getClassesImplementing("api.StartupListener").filter { !it.isAbstract }.forEach {
|
||||
try {
|
||||
val clazz = it.loadClass().newInstance() as StartupListener
|
||||
GameWorld.startupListeners.add(clazz)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue