juancarloscp52 / BedrockIfy

A Minecraft mod that implements some Minecraft Bedrock features into Java edition.
GNU General Public License v3.0
178 stars 37 forks source link

correction of argument types #199

Closed lonefelidae16 closed 1 year ago

lonefelidae16 commented 1 year ago

fix #198 Prevent ClassCastException when Show Subtitles turns on.

Slooshie1 commented 1 year ago

it fails to compile for me

Slooshie1 commented 1 year ago

FAILURE: Build failed with an exception.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.3/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 671ms

lonefelidae16 commented 1 year ago

startup failed: General error during conversion: Unsupported class file major version 63

JVM class file for major version 63 is Java 19 or later. I believe Minecraft's Java is 17, and it compiled successfully with Oracle OpenJDK 17. Where did major version 63 come from...?

juancarloscp52 commented 1 year ago

Builds fine in my environment. Works great! Thank you @lonefelidae16 !