You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to break blocks (claimed or unclaimed) on 1.10 yields this error:
[02:01:34] [Server thread/ERROR] [Sponge]: Could not pass InteractBlockEvent$Primary$MainHand$Impl to org.spongepowered.mod.plugin.SpongeModPluginContainer@1231c091
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:?]
Thinking this has something to do with the fact that players now dual wield.
The text was updated successfully, but these errors were encountered:
Indeed. It's due to the fact that Nations 0.x versions are targeting v4.x.x of SpongeAPI.
To use minecraft 1.10.2 compatible versions of SpongeForge/SpongeVanilla (SpongeAPI v5.x.x), please wait for versions 2.x of Nations. Those will be out when SpongeAPI v5.x.x won't be bleeding anymore (at the same time as v1.x of Nations).
Trying to break blocks (claimed or unclaimed) on 1.10 yields this error:
Thinking this has something to do with the fact that players now dual wield.
The text was updated successfully, but these errors were encountered: