Deep Dark Dimension

Deep Dark Dimension

19.8k Downloads

Potential Support for Java 11-14?

Darkosto opened this issue ยท 1 comments

commented

Hello!

Would you be willing to update the mod to work with Java 11 and Java 14? Most mods and forge work in these versions. When I tried using your mod in my pack I got this crash when loading into a world:

(The class that no longer exists is: 'sun.misc.IOUtils')

Forge: 36.2.4
MC: 1.16.5
Deep Dark: ddd-1.16
crash-2021-09-17_16.51.03-server.txt
-0.2.1

Thank you very much!

commented

This error seems like it would be a small fix.

On this line here https://github.com/PianoManu/DeepDarkDimension/blob/master/src/main/java/mod/pianomanu/ddd/world/SpawnInDeepDark.java#L52

Change this to not use the "sun.misc" class, instead just use these three lines

content = new byte[(int) file.length()];
inputStream.read(content);
inputStream.close();

[ https://stackoverflow.com/a/14169760 ]

I can test and make a Pull Request if you are around to merge and build it @PianoManu just let me know. im also around on twitter or discord (Lothrazar#7738) if you want to chat about it