Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin isn't working #8

Open
mishakorzik opened this issue Apr 6, 2023 · 0 comments
Open

Plugin isn't working #8

mishakorzik opened this issue Apr 6, 2023 · 0 comments

Comments

@mishakorzik
Copy link

06:53:58 [WARN ] [VanillaCommandBlock]: Error while registering cn.wode490390.nukkit.cmdblock.block.BlockCommandBlock
java.lang.reflect.InvocationTargetException: null
at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77) ~[?:?]
at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?]
at java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) ~[?:?]
at java.lang.reflect.Constructor.newInstance(Constructor.java:480) ~[?:?]
at cn.wode490390.nukkit.cmdblock.CommandBlockPlugin.registerBlock(CommandBlockPlugin.java:58) [wodeVanillaCommandBlock-1.0.0.jar:?]
at cn.wode490390.nukkit.cmdblock.CommandBlockPlugin.onEnable(CommandBlockPlugin.java:40) [wodeVanillaCommandBlock-1.0.0.jar:?]
at cn.nukkit.plugin.PluginBase.setEnabled(PluginBase.java:105) [server-1-19-30.jar:?]
at cn.nukkit.plugin.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:120) [server-1-19-30.jar:?]
at cn.nukkit.plugin.PluginManager.enablePlugin(PluginManager.java:461) [server-1-19-30.jar:?]
at cn.nukkit.Server.enablePlugin(Server.java:943) [server-1-19-30.jar:?]
at cn.nukkit.Server.enablePlugins(Server.java:932) [server-1-19-30.jar:?]
at cn.nukkit.Server.(Server.java:691) [server-1-19-30.jar:?]
at cn.nukkit.Nukkit.main(Nukkit.java:200) [server-1-19-30.jar:?]
Caused by: java.lang.AbstractMethodError: Receiver class cn.wode490390.nukkit.cmdblock.block.BlockCommandBlock does not define or inherit an implementation of the resolved method 'cn.nukkit.blockproperty.BlockProperties getProperties()' of abstract class cn.nukkit.block.Block.
at cn.nukkit.block.Block.getMutableState(Block.java:982) ~[server-1-19-30.jar:?]
at cn.nukkit.block.BlockMeta.(BlockMeta.java:29) ~[server-1-19-30.jar:?]
at cn.nukkit.block.BlockSolidMeta.(BlockSolidMeta.java:7) ~[server-1-19-30.jar:?]
at cn.wode490390.nukkit.cmdblock.block.BlockCommandBlock.(BlockCommandBlock.java:26) ~[?:?]
... 14 more
06:53:58 [WARN ] [VanillaCommandBlock]: Error while registering cn.wode490390.nukkit.cmdblock.block.BlockCommandBlockChain
java.lang.reflect.InvocationTargetException: null
at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77) ~[?:?]
at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?]
at java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) ~[?:?]
at java.lang.reflect.Constructor.newInstance(Constructor.java:480) ~[?:?]
at cn.wode490390.nukkit.cmdblock.CommandBlockPlugin.registerBlock(CommandBlockPlugin.java:58) [wodeVanillaCommandBlock-1.0.0.jar:?]
at cn.wode490390.nukkit.cmdblock.CommandBlockPlugin.onEnable(CommandBlockPlugin.java:41) [wodeVanillaCommandBlock-1.0.0.jar:?]
at cn.nukkit.plugin.PluginBase.setEnabled(PluginBase.java:105) [server-1-19-30.jar:?]
at cn.nukkit.plugin.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:120) [server-1-19-30.jar:?]
at cn.nukkit.plugin.PluginManager.enablePlugin(PluginManager.java:461) [server-1-19-30.jar:?]
at cn.nukkit.Server.enablePlugin(Server.java:943) [server-1-19-30.jar:?]
at cn.nukkit.Server.enablePlugins(Server.java:932) [server-1-19-30.jar:?]
at cn.nukkit.Server.(Server.java:691) [server-1-19-30.jar:?]
at cn.nukkit.Nukkit.main(Nukkit.java:200) [server-1-19-30.jar:?]
Caused by: java.lang.AbstractMethodError: Receiver class cn.wode490390.nukkit.cmdblock.block.BlockCommandBlockChain does not define or inherit an implementation of the resolved method 'cn.nukkit.blockproperty.BlockProperties getProperties()' of abstract class cn.nukkit.block.Block.
at cn.nukkit.block.Block.getMutableState(Block.java:982) ~[server-1-19-30.jar:?]
at cn.nukkit.block.BlockMeta.(BlockMeta.java:29) ~[server-1-19-30.jar:?]
at cn.nukkit.block.BlockSolidMeta.(BlockSolidMeta.java:7) ~[server-1-19-30.jar:?]
at cn.wode490390.nukkit.cmdblock.block.BlockCommandBlock.(BlockCommandBlock.java:26) ~[?:?]
at cn.wode490390.nukkit.cmdblock.block.BlockCommandBlockChain.(BlockCommandBlockChain.java:13) ~[?:?]
... 14 more
06:53:58 [WARN ] [VanillaCommandBlock]: Error while registering cn.wode490390.nukkit.cmdblock.block.BlockCommandBlockRepeating
java.lang.reflect.InvocationTargetException: null
at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77) ~[?:?]
at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?]
at java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) ~[?:?]
at java.lang.reflect.Constructor.newInstance(Constructor.java:480) ~[?:?]
at cn.wode490390.nukkit.cmdblock.CommandBlockPlugin.registerBlock(CommandBlockPlugin.java:58) [wodeVanillaCommandBlock-1.0.0.jar:?]
at cn.wode490390.nukkit.cmdblock.CommandBlockPlugin.onEnable(CommandBlockPlugin.java:42) [wodeVanillaCommandBlock-1.0.0.jar:?]
at cn.nukkit.plugin.PluginBase.setEnabled(PluginBase.java:105) [server-1-19-30.jar:?]
at cn.nukkit.plugin.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:120) [server-1-19-30.jar:?]
at cn.nukkit.plugin.PluginManager.enablePlugin(PluginManager.java:461) [server-1-19-30.jar:?]
at cn.nukkit.Server.enablePlugin(Server.java:943) [server-1-19-30.jar:?]
at cn.nukkit.Server.enablePlugins(Server.java:932) [server-1-19-30.jar:?]
at cn.nukkit.Server.(Server.java:691) [server-1-19-30.jar:?]
at cn.nukkit.Nukkit.main(Nukkit.java:200) [server-1-19-30.jar:?]
Caused by: java.lang.AbstractMethodError: Receiver class cn.wode490390.nukkit.cmdblock.block.BlockCommandBlockRepeating does not define or inherit an implementation of the resolved method 'cn.nukkit.blockproperty.BlockProperties getProperties()' of abstract class cn.nukkit.block.Block.
at cn.nukkit.block.Block.getMutableState(Block.java:982) ~[server-1-19-30.jar:?]
at cn.nukkit.block.BlockMeta.(BlockMeta.java:29) ~[server-1-19-30.jar:?]
at cn.nukkit.block.BlockSolidMeta.(BlockSolidMeta.java:7) ~[server-1-19-30.jar:?]
at cn.wode490390.nukkit.cmdblock.block.BlockCommandBlock.(BlockCommandBlock.java:26) ~[?:?]
at cn.wode490390.nukkit.cmdblock.block.BlockCommandBlockRepeating.(BlockCommandBlockRepeating.java:13) ~[?:?]
... 14 more

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant