OldCombatMechanics

OldCombatMechanics

46.1k Downloads

error

axeldupuy opened this issue ยท 0 comments

commented

[OldCombatMechanics] Error in a packet listener (send).
java.lang.NullPointerException: Cannot invoke "java.util.Optional.isPresent()" because "structOptional" is null
at kernitus.plugin.OldCombatMechanics.utilities.packet.team.V17TeamPacket$PacketAccess.lambda$setCollisionRule$4(V17TeamPacket.java:116) ~[OldCombatMechanics.jar:?]
at kernitus.plugin.OldCombatMechanics.utilities.reflection.Reflector.getUnchecked(Reflector.java:220) ~[OldCombatMechanics.jar:?]
at kernitus.plugin.OldCombatMechanics.utilities.packet.team.V17TeamPacket$PacketAccess.setCollisionRule(V17TeamPacket.java:112) ~[OldCombatMechanics.jar:?]
at kernitus.plugin.OldCombatMechanics.utilities.packet.team.V17TeamPacket.withCollisionRule(V17TeamPacket.java:27) ~[OldCombatMechanics.jar:?]
at kernitus.plugin.OldCombatMechanics.module.ModulePlayerCollisions$CollisionPacketListener.handlePacket(ModulePlayerCollisions.java:162) ~[OldCombatMechanics.jar:?]
at kernitus.plugin.OldCombatMechanics.module.ModulePlayerCollisions$CollisionPacketListener.onPacketSend(ModulePlayerCollisions.java:131) ~[OldCombatMechanics.jar:?]
at kernitus.plugin.OldCombatMechanics.utilities.packet.mitm.PacketInjector.write(PacketInjector.java:175) ~[OldCombatMechanics.jar:?]
at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:717) ~[patched_1.17.1.jar:git-Pufferfish-8]
at io.netty.channel.AbstractChannelHandlerContext.invokeWriteAndFlush(AbstractChannelHandlerContext.java:764) ~[patched_1.17.1.jar:git-Pufferfish-8]
at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:790) ~[patched_1.17.1.jar:git-Pufferfish-8]
at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:758) ~[patched_1.17.1.jar:git-Pufferfish-8]
at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:808) ~[patched_1.17.1.jar:git-Pufferfish-8]
at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:1025) ~[patched_1.17.1.jar:git-Pufferfish-8]
at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:306) ~[patched_1.17.1.jar:git-Pufferfish-8]
at com.comphenix.protocol.injector.netty.ChannelProxy.writeAndFlush(ChannelProxy.java:327) ~[ProtocolLib.jar:?]
at net.minecraft.network.Connection.doSendPacket(Connection.java:450) ~[app:?]
at net.minecraft.network.Connection.lambda$writePacket$8(Connection.java:424) ~[app:?]
at com.comphenix.protocol.injector.netty.ChannelInjector$3.lambda$onMessageScheduled$1(ChannelInjector.java:354) ~[ProtocolLib.jar:?]
at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:164) ~[patched_1.17.1.jar:git-Pufferfish-8]
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:472) ~[patched_1.17.1.jar:git-Pufferfish-8]
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:384) ~[patched_1.17.1.jar:git-Pufferfish-8]
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989) ~[patched_1.17.1.jar:git-Pufferfish-8]
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[patched_1.17.1.jar:git-Pufferfish-8]
at java.lang.Thread.run(Thread.java:833) ~[?:?]