Let players with certain unsupported protocol versions to connect. NOTICE: This is NOT a multiversion implementation. Use Nukkit PetteriM1 Edition for full multiversion support.
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)
The plugin throws the following error when loading: