Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatibility Issue with Bountiful and Kotlin #3642

Closed
uwuscutely opened this issue Feb 27, 2022 · 3 comments
Closed

Compatibility Issue with Bountiful and Kotlin #3642

uwuscutely opened this issue Feb 27, 2022 · 3 comments
Labels
resolution: wontfix This will not be worked on type: bug Something isn't working version: 1.16 (u) API: 8

Comments

@uwuscutely
Copy link

Affected Product(s)

SpongeForge

Version

1.16.5-36.2.5-8.0.0-RC1081

Operating System

Linux

Java Version

Java 11

Plugins/Mods

https://bin.bloom.host/raw/kuvadolehu

Describe the bug

Server crashes on startup and mod fails to load correct with Sponge loaded.

Link to logs

https://bin.bloom.host/dexeremiwa.rb

@uwuscutely uwuscutely added status: needs triage This label is automatically applied to new issues and pull requests to indicate they require triage type: bug Something isn't working labels Feb 27, 2022
@gabizou
Copy link
Member

gabizou commented Feb 28, 2022

Unable to be fixed. KotlinForForge explicitly casts an interface to a concrete expected type here and SpongeForge utilizes it's own implementation of an IEventBus (that doesn't extend EventBus).

There is a possible workaround but it's not clean or something I'd like to support/maintain moving forward. The whole point of Forge exposing the interface is to... expose the interface. A mod depending on the implementation of an interface to be the same isn't a smart thing to do (and this is why this issue arises).

The harder part is that the mod already made the necessary changes in 1.17+ versions of the mod, so it's not likely to get any fixes for 1.16 :/

@gabizou gabizou closed this as completed Feb 28, 2022
@gabizou gabizou added resolution: wontfix This will not be worked on version: 1.16 (u) API: 8 and removed status: needs triage This label is automatically applied to new issues and pull requests to indicate they require triage labels Feb 28, 2022
@uwuscutely
Copy link
Author

uwuscutely commented Mar 1, 2022

Issue opened on Kotlin repo. Fix for 1.16 might be coming, not 100% sure

@thedarkcolour
Copy link

If I manage to get it working the fix will also work all the way back until 1.14.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
resolution: wontfix This will not be worked on type: bug Something isn't working version: 1.16 (u) API: 8
Projects
None yet
Development

No branches or pull requests

3 participants