Advertisement
GeradesoLukas

Error Cancel Event

Sep 26th, 2022
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.22 KB | None | 0 0
  1. [15:03:32] [Server thread/ERROR] [minecraft/PacketUtils]: Failed to handle packet net.minecraft.network.protocol.game.ServerboundInteractPacket@2302ca90, suppressing error
  2. java.lang.UnsupportedOperationException: Attempted to call Event#setCanceled() on a non-cancelable event of type: net.minecraftforge.event.entity.player.PlayerDestroyItemEvent
  3. at net.minecraftforge.eventbus.api.Event.setCanceled(Event.java:95) ~[eventbus-5.0.7.jar%2310!/:?] {}
  4. at net.geradesolukas.weaponleveling.nobreak.CancelingEvents.onItemDestroy(CancelingEvents.java:26) ~[%2382!/:?] {re:classloading}
  5. at net.minecraftforge.eventbus.ASMEventHandler_2_CancelingEvents_onItemDestroy_PlayerDestroyItemEvent.invoke(.dynamic) ~[?:?] {}
  6. at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:85) ~[eventbus-5.0.7.jar%2310!/:?] {}
  7. at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302) ~[eventbus-5.0.7.jar%2310!/:?] {}
  8. at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283) ~[eventbus-5.0.7.jar%2310!/:?] {}
  9. at net.minecraftforge.event.ForgeEventFactory.onPlayerDestroyItem(ForgeEventFactory.java:183) ~[forge-1.18.2-40.1.54_mapped_official_1.18.2-recomp.jar%2376%2383!/:?] {re:classloading}
  10. at net.minecraft.world.entity.player.Player.attack(Player.java:1192) ~[forge-1.18.2-40.1.54_mapped_official_1.18.2-recomp.jar%2377!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:weaponleveling.mixin.json:MixinPlayer,pl:mixin:A}
  11. at net.minecraft.server.level.ServerPlayer.attack(ServerPlayer.java:1343) ~[forge-1.18.2-40.1.54_mapped_official_1.18.2-recomp.jar%2377!/:?] {re:classloading,pl:accesstransformer:B}
  12. at net.minecraft.server.network.ServerGamePacketListenerImpl$1.onAttack(ServerGamePacketListenerImpl.java:1251) ~[forge-1.18.2-40.1.54_mapped_official_1.18.2-recomp.jar%2377!/:?] {re:classloading}
  13. at net.minecraft.network.protocol.game.ServerboundInteractPacket$1.dispatch(ServerboundInteractPacket.java:22) ~[forge-1.18.2-40.1.54_mapped_official_1.18.2-recomp.jar%2377!/:?] {re:classloading}
  14. at net.minecraft.network.protocol.game.ServerboundInteractPacket.dispatch(ServerboundInteractPacket.java:75) ~[forge-1.18.2-40.1.54_mapped_official_1.18.2-recomp.jar%2377!/:?] {re:classloading}
  15. at net.minecraft.server.network.ServerGamePacketListenerImpl.handleInteract(ServerGamePacketListenerImpl.java:1224) ~[forge-1.18.2-40.1.54_mapped_official_1.18.2-recomp.jar%2377!/:?] {re:classloading}
  16. at net.minecraft.network.protocol.game.ServerboundInteractPacket.handle(ServerboundInteractPacket.java:62) ~[forge-1.18.2-40.1.54_mapped_official_1.18.2-recomp.jar%2377!/:?] {re:classloading}
  17. at net.minecraft.network.protocol.game.ServerboundInteractPacket.handle(ServerboundInteractPacket.java:12) ~[forge-1.18.2-40.1.54_mapped_official_1.18.2-recomp.jar%2377!/:?] {re:classloading}
  18. at net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$0(PacketUtils.java:22) ~[forge-1.18.2-40.1.54_mapped_official_1.18.2-recomp.jar%2377!/:?] {re:classloading}
  19. at net.minecraft.server.TickTask.run(TickTask.java:17) ~[forge-1.18.2-40.1.54_mapped_official_1.18.2-recomp.jar%2377!/:?] {re:classloading}
  20. at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:143) ~[forge-1.18.2-40.1.54_mapped_official_1.18.2-recomp.jar%2377!/:?] {re:classloading,pl:accesstransformer:B}
  21. at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:22) ~[forge-1.18.2-40.1.54_mapped_official_1.18.2-recomp.jar%2377!/:?] {re:classloading}
  22. at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:799) ~[forge-1.18.2-40.1.54_mapped_official_1.18.2-recomp.jar%2377!/:?] {re:classloading,pl:accesstransformer:B}
  23. at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:164) ~[forge-1.18.2-40.1.54_mapped_official_1.18.2-recomp.jar%2377!/:?] {re:classloading,pl:accesstransformer:B}
  24. at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:116) ~[forge-1.18.2-40.1.54_mapped_official_1.18.2-recomp.jar%2377!/:?] {re:classloading,pl:accesstransformer:B}
  25. at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:782) ~[forge-1.18.2-40.1.54_mapped_official_1.18.2-recomp.jar%2377!/:?] {re:classloading,pl:accesstransformer:B}
  26. at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:776) ~[forge-1.18.2-40.1.54_mapped_official_1.18.2-recomp.jar%2377!/:?] {re:classloading,pl:accesstransformer:B}
  27. at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:126) ~[forge-1.18.2-40.1.54_mapped_official_1.18.2-recomp.jar%2377!/:?] {re:classloading,pl:accesstransformer:B}
  28. at net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:762) ~[forge-1.18.2-40.1.54_mapped_official_1.18.2-recomp.jar%2377!/:?] {re:classloading,pl:accesstransformer:B}
  29. at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:689) ~[forge-1.18.2-40.1.54_mapped_official_1.18.2-recomp.jar%2377!/:?] {re:classloading,pl:accesstransformer:B}
  30. at net.minecraft.server.MinecraftServer.lambda$spin$2(MinecraftServer.java:261) ~[forge-1.18.2-40.1.54_mapped_official_1.18.2-recomp.jar%2377!/:?] {re:classloading,pl:accesstransformer:B}
  31. at java.lang.Thread.run(Thread.java:833) [?:?] {}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement