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

InteractBlockEvent error #25

Open
Yotsune opened this issue May 12, 2018 · 0 comments
Open

InteractBlockEvent error #25

Yotsune opened this issue May 12, 2018 · 0 comments

Comments

@Yotsune
Copy link

Yotsune commented May 12, 2018

So I am on 1.12.2 server (not even sure if its fully supported but it loaded :P)
(sponge): spongeforge-1.12.2-2655-7.1.0-BETA-3052
Minecraft 1.12.2
TotalEconomy-1.8.0
Java: JRE1.8.0_161 (Serverside)
no database for currency plugin yet (flatfile for now)
So i can setup shops no problem but when i try to use them nothing happens besides an error in the console.

[08:40:48] [Server thread/ERROR] [Sponge]: Could not pass InteractBlockEvent$Secondary$MainHand$Impl to Plugin{id=adminshop, name=AdminShop, version=1.8.2, description=This plugin adds sign shops for users to buy items., source=C:(Directory to my server files)\AdminShop-1.10.2-1.8.2-universal.jar}
java.lang.NoClassDefFoundError: org/spongepowered/api/event/cause/NamedCause
at io.github.hsyyid.adminshop.listeners.InteractBlockListener.onPlayerRightClickBlock(InteractBlockListener.java:135) ~[InteractBlockListener.class:?]
at org.spongepowered.common.event.listener.SecondaryListener_InteractBlockListener_onPlayerRightClickBlock42.handle(Unknown Source) ~[?:?]
at org.spongepowered.common.event.RegisteredListener.handle(RegisteredListener.java:95) ~[RegisteredListener.class:1.12.2-2655-7.1.0-BETA-3052]
at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:335) [SpongeModEventManager.class:1.12.2-2655-7.1.0-BETA-3052]
at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:312) [SpongeModEventManager.class:1.12.2-2655-7.1.0-BETA-3052]
at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:364) [SpongeModEventManager.class:1.12.2-2655-7.1.0-BETA-3052]
at org.spongepowered.common.event.SpongeEventManager.post(SpongeEventManager.java:427) [SpongeEventManager.class:1.12.2-2655-7.1.0-BETA-3052]
at org.spongepowered.common.SpongeImpl.postEvent(SpongeImpl.java:207) [SpongeImpl.class:1.12.2-2655-7.1.0-BETA-3052]
at org.spongepowered.common.event.SpongeCommonEventFactory.callInteractBlockEventSecondary(SpongeCommonEventFactory.java:729) [SpongeCommonEventFactory.class:1.12.2-2655-7.1.0-BETA-3052]
at org.spongepowered.common.event.SpongeCommonEventFactory.callInteractBlockEventSecondary(SpongeCommonEventFactory.java:708) [SpongeCommonEventFactory.class:1.12.2-2655-7.1.0-BETA-3052]
at net.minecraft.server.management.PlayerInteractionManager.func_187251_a(PlayerInteractionManager.java:1184) [or.class:?]
at net.minecraft.network.NetHandlerPlayServer.redirect$onProcessRightClickBlock$zil000(NetHandlerPlayServer.java:2393) [pa.class:?]
at net.minecraft.network.NetHandlerPlayServer.func_184337_a(NetHandlerPlayServer.java:739) [pa.class:?]
at net.minecraft.network.play.client.CPacketPlayerTryUseItemOnBlock.func_148833_a(SourceFile:55) [ma.class:?]
at net.minecraft.network.play.client.CPacketPlayerTryUseItemOnBlock.func_148833_a(SourceFile:11) [ma.class:?]
at org.spongepowered.common.network.PacketUtil.onProcessPacket(PacketUtil.java:149) [PacketUtil.class:1.12.2-2655-7.1.0-BETA-3052]
at net.minecraft.network.PacketThreadUtil$1.redirect$onProcessPacket$zlb000(SourceFile:539) [hv$1.class:?]
at net.minecraft.network.PacketThreadUtil$1.run(SourceFile:13) [hv$1.class:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_161]
at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_161]
at net.minecraft.util.Util.func_181617_a(SourceFile:46) [h.class:?]
at org.spongepowered.common.SpongeImplHooks.onUtilRunTask(SpongeImplHooks.java:277) [SpongeImplHooks.class:1.12.2-2655-7.1.0-BETA-3052]
at net.minecraft.server.MinecraftServer.redirect$onRun$zjg000(MinecraftServer.java:3977) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:721) [MinecraftServer.class:?]
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:396) [nz.class:?]
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:666) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:524) [MinecraftServer.class:?]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_161]
This is the full thread of the error upon attempting to use the sign shop I hope i am not to much of a bother

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