Skip to content

PluginLoader not called when using Kotlin #11755

@JaroxCraft

Description

@JaroxCraft

Expected behavior

I had a LibrariesLoader class in Kotlin implementing the PluginLoader Inverface to load all required libraries. I had registered the loader correctly in the paper-plugin.yml file and made sure everything else was correct. But it didn´t work. It didn´t even call the classloader function.

Observed/Actual behavior

the PluginLoader was not invoked

Steps/models to reproduce

Create a new paper plugin in kotlin and try to use a Loader

Plugin and Datapack List

just my own plugin with the loader registered

Paper version

This server is running Paper version 1.21.4-15-master@bb76819 (2024-12-15T09:48:21Z) (Implementing API version 1.21.4-R0.1-SNAPSHOT)
You are running the latest version

Other

However, when i took the exact same code in Java without changing anything, it worked completly fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions