This reverts commit a2b16be399. This only applies to newer jvm versions. I have to wait for mc 26.1
a2b16be399