-
Notifications
You must be signed in to change notification settings - Fork 8
Please make IonSpigot java 16 compatible? #12
Comments
I think the 0001-POM-Changes.patch file in PaperSpigot-Server-Patches causes this error, because it contains if (!SystemUtils.isJavaVersionAtLeast(JavaVersion.JAVA_1_8)) { |
No. This is not the case. |
Got it, well - i usually custom code my plugins so plugins shouldnt be an issue for me |
I'm not going to be adding support for later versions of java anytime soon. I don't know how to do this properly, I tried this out on another jar of mine a while ago. Updating netty and removing the java version check but it led to protocollib sometimes locking up the server when starting up. I didn't check to see if this was a plugin issue. I'm open for pull requests on this. |
The latest version of ProtocolLib fixed that. (4.7.0) |
I might give that a try then. I was running 4.5.1 during my testing. |
Thats awesome, would love java 11/16 support |
I did some work on this in the netty-update branch. It does appear to work with the minimal testing I've done so far. I'm able to run Ion on my other system which is running linux with Java 11 and connect with my laptop and vise versa. Running ProtocolLib, Viaversion, Viabackwards and Viarewind I was able to connect using 1.17 on my laptop to my other system. |
Note though that iirc, Citizens doesn't work correctly and needs to be patched using Javassist. But it might be different now |
IonSpigot works fine on java 8, but when running it with Java 16, it returns with the error:
I believe it would be a nice addition to let IonSpigot be able to run on Java 16, and it would offer more compatibility between using different java versions, as an example - minecraft 1.17 and 1.18 requires something like java 11 or java 16 to run, and this is why I'm requesting this. I hope IonSpigot adds Java 16 support
The text was updated successfully, but these errors were encountered: