Integrated Proxy

Integrated Proxy

1M Downloads

Breaking proxy by hand/tool other than wrench while a reader/writer is attached causes exception in server tick

Icoza opened this issue · 7 comments

commented

I can only reproduce this issue in 1.16, but breaking a proxy by means other than Integrated Wrench causes exception in server tick loop. Crash Log. I was able to cause this crash breaking by hand and with a pickaxe.

commented

Thank for helping me test the mod!

commented

Oh, yea, try install the IntegratedTunnels mod in your Minecraft instance, that should solve it for now, I'll solve this bug soon

commented

You're right, with Tunnels installed I can't reproduce the crash anymore. I can't think of many cases where Dynamics would be installed without Tunnels.

commented

I'll probably fix this tomorrow, my network is soo unstable right now

commented

Sounds good to me, probably not a very common case where one is installed without the other. Only reason I found it is because I'm testing a lot of weird edge cases right now.

commented

Similar issue happens in 1.12 without Integrated Tunnels just so you know. It doesn't appear to cause a crash, but it does leave an invisible proxy until you break the readers/writers that were attached. I doubt many users would have Dynamics without Tunnels though. 🤷‍♂️
2021-06-12_09 06 14
2021-06-12_09 06 19
2021-06-12_09 06 23

commented

This is not hard to fix, the cause of this issue is because I recently made the WorldBlockImporter don't break the proxy block, so that is you variable have a problem, the proxy block won't be broke, so I have to check if the player that's breaking the block is the FakePlayer from IntegratedTunnels, if it is, don't allow the fake player to break it, but if you don't have IntegratedTunnels installed, it can't find the FakePlayer class, so it just crash