Skip to content

Conversation

@BomBardyGamer
Copy link
Collaborator

This replaces the check for the platform being Platform.SPONGE, which was not scalable, as other platforms may need to disable this binding, such as Velocity and Krypton, which both also bind the main class.

I did think about just making the binding nullable, but that wouldn't work, since we need the binding for the @Data binding.
If anyone has any better ideas, feel free to suggest them.

Also, this fixes a compilation issue for Sponge that was bugging me, in that the @Plugin annotation was moved from org.spongepowered.plugin.jvm.Plugin to org.spongepowered.plugin.builtin.jvm.Plugin. Hope you don't mind that change being in this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant