PLAYER target expects a Player arg
clienthax opened this issue ยท 2 comments
Describe the bug
When teleporting to a location not in the current dimension using the client gui the following shows in
the server log and the connection is dropped.
java.lang.RuntimeException: PLAYER target expects a Player arg
at net.minecraftforge.fml.common.network.FMLOutboundHandler$OutboundTarget$4.validateArgs(FMLOutboundHandler.java:136) ~[FMLOutboundHandler$OutboundTarget$4.class:?]
at net.minecraftforge.fml.common.network.FMLOutboundHandler.write(FMLOutboundHandler.java:367) ~[FMLOutboundHandler.class:?]
at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:738) ~[minecraft_server.1.12.2.jar:?]
at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:730) ~[minecraft_server.1.12.2.jar:?]
at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:816) ~[minecraft_server.1.12.2.jar:?]
at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:723) ~[minecraft_server.1.12.2.jar:?]
at io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:111) ~[minecraft_server.1.12.2.jar:?]
at io.netty.handler.codec.MessageToMessageCodec.write(MessageToMessageCodec.java:116) ~[minecraft_server.1.12.2.jar:?]
at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:738) ~[minecraft_server.1.12.2.jar:?]
at io.netty.channel.AbstractChannelHandlerContext.invokeWriteAndFlush(AbstractChannelHandlerContext.java:801) ~[minecraft_server.1.12.2.jar:?]
at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:814) ~[minecraft_server.1.12.2.jar:?]
at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:794) ~[minecraft_server.1.12.2.jar:?]
at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:831) ~[minecraft_server.1.12.2.jar:?]
at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:1032) ~[minecraft_server.1.12.2.jar:?]
at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:296) ~[minecraft_server.1.12.2.jar:?]
at net.minecraftforge.fml.common.network.simpleimpl.SimpleNetworkWrapper.sendTo(SimpleNetworkWrapper.java:250) ~[SimpleNetworkWrapper.class:?]
at cf.terminator.laggoggles.CommonProxy.sendTo(CommonProxy.java:70) ~[CommonProxy.class:?]
at cf.terminator.laggoggles.CommonProxy$1.run(CommonProxy.java:79) ~[CommonProxy$1.class:?]
at cf.terminator.laggoggles.util.RunInServerThread.onServerTick(RunInServerThread.java:19) ~[RunInServerThread.class:?]
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_1809_RunInServerThread_onServerTick_ServerTickEvent.invoke(.dynamic) ~[?:?]
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) ~[ASMEventHandler.class:?]
at net.minecraftforge.fml.common.eventhandler.EventBus.forgeBridge$post(EventBus.java:1253) ~[EventBus.class:?]
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:1203) ~[EventBus.class:?]
at net.minecraftforge.fml.common.FMLCommonHandler.onPostServerTick(FMLCommonHandler.java:266) ~[FMLCommonHandler.class:?]
at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:712) ~[MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526) ~[MinecraftServer.class:?]
at java.lang.Thread.run(Thread.java:813) [?:1.8.0_212]
> [18:50:52] [Netty Epoll Server IO #12/ERROR] [FML]: Network Disconnect: A fatal error has occurred, this connection is terminated
To Reproduce
Attempt to TP to a location not in the current dimension
If you are using SpongeForge, which version are you using?
spongeforge-1.12.2-2838-7.1.8-RC3968.jar
Please provide the early startup messages starting with [LagGoggles-Boot]
[18:54:36] [main/INFO] [LagGoggles-Boot]: I am located here: file:/home/container/./mods/LagGoggles-FAT-1.12.2-4.9%20(1).jar!/cf/terminator/laggoggles/Main.class
[18:54:36] [main/INFO] [LagGoggles-Boot]: I am designed for Forge version: 14.23.5.2838
[18:54:36] [main/INFO] [LagGoggles-Boot]: Loading server classes
[18:54:36] [main/INFO] [LagGoggles-Boot]: SpongeForge is present!
[18:54:36] [main/INFO] [LagGoggles-Boot]: I am designed for SpongeForge version: 1.12.2-2838-7.1.7-RC3881
[18:54:36] [main/WARN] [LagGoggles-Boot]: SpongeForge version is different than expected!
[18:54:36] [main/WARN] [LagGoggles-Boot]: This could result in undefined behavior.
[18:54:36] [main/WARN] [LagGoggles-Boot]:
[18:54:36] [main/WARN] [LagGoggles-Boot]: Expected: '1.12.2-2838-7.1.7-RC3881', but you have: '1.12.2-2838-7.1.8-RC3968' installed.
[18:54:36] [main/INFO] [LagGoggles-Boot]: We're running in a production environment.
If you used the word 'error' somewhere, always provide the stack trace along with both debug.log and latest.log
Logs are long gone, I have stopped using laggoggles due to other incompatibilities now.