PetteriM1 / VersionExtension

Let players with certain unsupported protocol versions to connect. NOTICE: This is NOT a multiversion implementation. Use Nukkit PetteriM1 Edition for full multiversion support.
https://cloudburstmc.org/resources/versionextension.521/
3 stars 3 forks source link

Error On Load #1

Open ZandercraftGames opened 3 years ago

ZandercraftGames commented 3 years ago

The plugin throws the following error when loading:

23:31:21 [INFO ] Enabling VersionExtension v1.0
> java.lang.NoSuchFieldException: modifiers
        at java.base/java.lang.Class.getDeclaredField(Class.java:2489)
        at me.petterim1.versionextension.Main.onEnable(Main.java:26)
        at cn.nukkit.plugin.PluginBase.setEnabled(PluginBase.java:99)
        at cn.nukkit.plugin.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:118
        at cn.nukkit.plugin.PluginManager.enablePlugin(PluginManager.java:462)
        at cn.nukkit.Server.enablePlugin(Server.java:922)
        at cn.nukkit.Server.enablePlugins(Server.java:911)
        at cn.nukkit.Server.<init>(Server.java:754)
        at cn.nukkit.Nukkit.main(Nukkit.java:120)
PetteriM1 commented 3 years ago

Your server is running on a Java version newer than 11, right?

ZandercraftGames commented 3 years ago

@PetteriM1 That is correct, version 14 to be precise.

PetteriM1 commented 3 years ago

@PetteriM1 That is correct, version 14 to be precise.

Ok that is not supported