retrooper / packetevents

Precision meets performance—a powerful tool for mastering Minecraft packet manipulation with speed and finesse.
GNU General Public License v3.0
563 stars 152 forks source link

Grimac console error packetevents #940

Closed MahadRegent closed 3 months ago

MahadRegent commented 3 months ago

Describe the bug Console error

Software brand Purpur 1.16.5

Plugins Please give us a list of your plugins. Sometimes we run into incompatibilities. Having an overview of the plugins on your server can really help identify the problem quicker. Eg. ViaVersion, ProtocolLib, HolographicDisplays You may also provide a screenshot.

[18:22:42 INFO]: Plugins (85): ACubelets, AfkPool, ajLeaderboards, AntiCheatAddition, antiRedstoneClock, AutoMine, BAirDrop, BAuction, BedDupeFix, BetterTalismans, BKCommonLib, BLib, BlueSlimeCore, Boss, BSpawner, BungeeGuard, BuyCast, ChatEx, ChristmasPresents, Chunky, Citizens, CMI, CMILib, CombatLogX, CommandTimer, CooldownsX, CoreProtect, DecentHolograms, DeluxeAnnounce, DeluxeMenus, DiscordSRV, Duels, EasyPayments, ExecutableItems, ExploitFixer, GrimAC, HamsterAPI, HeadDatabase, HolographicDisplays, IRandomTeleport, ItemDefenceExplosion, JavlyRegions, LiteBans, LogFilter, LuckPerms, MistStart, MobFarmManager, My_Worlds, MyCommand, NBTAPI, packetevents, Pirate, Pl-Hide-Pro, PlaceholderAPI, PlayerPoints, PlayerReport, PlugManX (PlugMan), PrimeAlchemist, ProtocolLib, RandomBossSpawnPlugin, RecipeGuiDisabler, SCore, SGranter, SimpleScore, spark, STN-Studios-API, SuperNear, TAB, TerraformGenerator, TokenManager, TradeSystem, TrapLeave, UltimateAutoRestart, UltimateClans, Vault, VehicleCommandBlocker, ViaBackwards, ViaVersion, VoidTeleportPlus, WGExtender, WGPistons, WorldEdit, WorldGuard, XConomy, YaReSpawn

How To Reproduce Steps to reproduce the behavior: Example:

  1. Join to the 1.16.5 server with grimac
  2. Teleport to another world
  3. See error

Expected behavior [18:21:56 WARN]: [ac.grim.grimac.shaded.com.github.retrooper.packetevents.PacketEventsAPI] PacketEvents caught an unhandled exception while calling your listener. java.lang.UnsupportedOperationException: null at ac.grim.grimac.shaded.com.github.retrooper.packetevents.protocol.mapper.AbstractMappedEntity.getId(AbstractMappedEntity.java:53) ~[?:?] at ac.grim.grimac.events.packets.PacketPlayerRespawn.isWorldChange(PacketPlayerRespawn.java:199) ~[?:?] at ac.grim.grimac.events.packets.PacketPlayerRespawn.onPacketSend(PacketPlayerRespawn.java:129) ~[?:?] at ac.grim.grimac.shaded.com.github.retrooper.packetevents.event.PacketSendEvent.call(PacketSendEvent.java:51) ~[?:?] at ac.grim.grimac.shaded.com.github.retrooper.packetevents.event.EventManager.callEvent(EventManager.java:84) ~[?:?] at ac.grim.grimac.shaded.com.github.retrooper.packetevents.util.PacketEventsImplHelper.handleClientBoundPacket(PacketEventsImplHelper.java:45) ~[?:?] at ac.grim.grimac.shaded.io.github.retrooper.packetevents.injector.handlers.PacketEventsEncoder.handleClientBoundPacket(PacketEventsEncoder.java:82) ~[?:?] at ac.grim.grimac.shaded.io.github.retrooper.packetevents.injector.handlers.PacketEventsEncoder.encode(PacketEventsEncoder.java:67) ~[?:?] at ac.grim.grimac.shaded.io.github.retrooper.packetevents.injector.handlers.PacketEventsEncoder.encode(PacketEventsEncoder.java:46) ~[?:?] at io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:89) ~[patched_1.16.5.jar:git-Purpur-1171] at ac.grim.grimac.shaded.io.github.retrooper.packetevents.injector.handlers.PacketEventsEncoder.write(PacketEventsEncoder.java:101) ~[?:?] at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:717) ~[patched_1.16.5.jar:git-Purpur-1171] at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:709) ~[patched_1.16.5.jar:git-Purpur-1171] at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:792) ~[patched_1.16.5.jar:git-Purpur-1171] at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:702) ~[patched_1.16.5.jar:git-Purpur-1171] at io.netty.handler.codec.MessageToByteEncoder.write(MessageToByteEncoder.java:113) ~[patched_1.16.5.jar:git-Purpur-1171] at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:717) ~[patched_1.16.5.jar:git-Purpur-1171] at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:709) ~[patched_1.16.5.jar:git-Purpur-1171] at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:792) ~[patched_1.16.5.jar:git-Purpur-1171] at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:702) ~[patched_1.16.5.jar:git-Purpur-1171] at io.netty.handler.codec.MessageToByteEncoder.write(MessageToByteEncoder.java:120) ~[patched_1.16.5.jar:git-Purpur-1171] at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:717) ~[patched_1.16.5.jar:git-Purpur-1171] at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:709) ~[patched_1.16.5.jar:git-Purpur-1171] at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:792) ~[patched_1.16.5.jar:git-Purpur-1171] at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:702) ~[patched_1.16.5.jar:git-Purpur-1171] at io.netty.channel.ChannelDuplexHandler.write(ChannelDuplexHandler.java:115) ~[patched_1.16.5.jar:git-Purpur-1171] at me.neznamy.tab.shared.features.injection.NettyPipelineInjector$TabChannelDuplexHandler.write(NettyPipelineInjector.java:134) ~[?:?] at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:717) ~[patched_1.16.5.jar:git-Purpur-1171] at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:709) ~[patched_1.16.5.jar:git-Purpur-1171] at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:792) ~[patched_1.16.5.jar:git-Purpur-1171] at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:702) ~[patched_1.16.5.jar:git-Purpur-1171] at io.netty.channel.ChannelDuplexHandler.write(ChannelDuplexHandler.java:115) ~[patched_1.16.5.jar:git-Purpur-1171] at de.codingair.tradesystem.lib.codingapi.player.data.PacketReader$1.write(PacketReader.java:77) ~[?:?] at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:717) ~[patched_1.16.5.jar:git-Purpur-1171] at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:709) ~[patched_1.16.5.jar:git-Purpur-1171] at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:792) ~[patched_1.16.5.jar:git-Purpur-1171] at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:702) ~[patched_1.16.5.jar:git-Purpur-1171] at io.netty.channel.ChannelDuplexHandler.write(ChannelDuplexHandler.java:115) ~[patched_1.16.5.jar:git-Purpur-1171] at de.codingair.tradesystem.lib.codingapi.player.data.PacketReader$1.write(PacketReader.java:77) ~[?:?] at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:717) ~[patched_1.16.5.jar:git-Purpur-1171] at io.netty.channel.AbstractChannelHandlerContext.invokeWriteAndFlush(AbstractChannelHandlerContext.java:764) ~[patched_1.16.5.jar:git-Purpur-1171] at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:790) ~[patched_1.16.5.jar:git-Purpur-1171] at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:758) ~[patched_1.16.5.jar:git-Purpur-1171] at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:1020) ~[patched_1.16.5.jar:git-Purpur-1171] at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:299) ~[patched_1.16.5.jar:git-Purpur-1171] at com.comphenix.protocol.injector.netty.channel.NettyChannelProxy.writeAndFlush(NettyChannelProxy.java:227) ~[?:?] at com.comphenix.protocol.injector.netty.channel.NettyChannelProxy.writeAndFlush(NettyChannelProxy.java:233) ~[?:?] at net.minecraft.server.v1_16_R3.NetworkManager$1.run(NetworkManager.java:450) ~[patched_1.16.5.jar:git-Purpur-1171] at com.comphenix.protocol.injector.netty.channel.NettyEventLoopProxy.lambda$proxyRunnable$2(NettyEventLoopProxy.java:48) ~[?:?] at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:164) ~[patched_1.16.5.jar:git-Purpur-1171] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:472) ~[patched_1.16.5.jar:git-Purpur-1171] at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:384) ~[patched_1.16.5.jar:git-Purpur-1171] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989) ~[patched_1.16.5.jar:git-Purpur-1171] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[patched_1.16.5.jar:git-Purpur-1171] at java.lang.Thread.run(Thread.java:840) [?:?]

Screenshots If applicable, add screenshots to help explain your problem.

Additional context Add any other context about the problem here.