java.lang.NoSuchMethodError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Anti-Break not working 1.10
    via GitHub by tenten8401
    ,
    • java.lang.NoSuchMethodError: org.spongepowered.api.entity.living.player.Player.getItemInHand()Ljava/util/Optional; at com.arckenver.nations.listener.GoldenAxeListener.onPlayerLeftClick(GoldenAxeListener.java:56)[GoldenAxeListener.class:0.10] at org.spongepowered.common.event.listener.PrimaryListener_GoldenAxeListener_onPlayerLeftClick65.handle(Unknown Source)[?:?] at org.spongepowered.common.event.RegisteredListener.handle(RegisteredListener.java:95)[RegisteredListener.class:1.10.2-2044-5.0.0-BETA-1661] at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:349)[SpongeModEventManager.class:1.10.2-2044-5.0.0-BETA-1661] at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:332)[SpongeModEventManager.class:1.10.2-2044-5.0.0-BETA-1661] at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:377)[SpongeModEventManager.class:1.10.2-2044-5.0.0-BETA-1661] at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:362)[SpongeModEventManager.class:1.10.2-2044-5.0.0-BETA-1661] at net.minecraft.server.MinecraftServer.handler$onServerTickEnd$0(MinecraftServer.java:565)[MinecraftServer.class:?] at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:658)[MinecraftServer.class:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471)[MinecraftServer.class:?]
    No Bugmate found.