p455w0rd / p455w0rd-s-Things

GNU General Public License v3.0
1 stars 1 forks source link

Log spam caused by TileInterchanger.receiveFluid() calling ModNetworking.INSTANCE.sendToServer() on server side #56

Open TigerWalts opened 6 years ago

TigerWalts commented 6 years ago

When an Interchanger receives fluid, it will attempt to send a packet (PacketFluidFill) to the server using a call to ModNetworking.INSTANCE.sendToServer(). However, if running on a server, this will lead to FML throwing a "Missing" exception and the stack trace gets sent to the console and log. The "Missing" refers to FML not having a real getClientToServerNetworkManager() for the server side.

If an Interchanger is being filled every tick then the log will be spammed and can grow to a very large size.

This behaviour was observed on a Project Ozone Lite 1.3.5 server where EnderIO Liquid Conduits were feeding into an Interchanger.

Mod version: p455w0rdsThings 1.10.2-2.2.32 Forge version: forge-1.10.2-12.18.3.2511

Chik3r commented 6 years ago

The interchanger from p455w0rd's Things says that it is Work In Progress ( WIP ) in its name. So it may not be completely stable.