Modular Routers

Modular Routers

49M Downloads

1.20.1 java.lang.StackOverflowError crashes a mc server and crashes the game in singleplayer

JBSTheGamer opened this issue ยท 1 comments

commented

Describe the bug

Having 2 modular routers facing each other one block apart and a acceleration wand from the mod not enough wands in the buffer slot on both routers with a activator module in both too causes the game to crash.

How to reproduce the bug

Install forge version: 1.20.1-47.4.0
Install NotEnoughWands version: 1.20-6.0.2
Install Modular routers version: 12.1.1 MC-1.20.1
Set up the modular routers as seen below
Image
Have a acceleration wand from the mod NotEnoughWands and a activator module in both modular routers as seen below. I put one activator module and a acceleration wand in the right modular router and i have it set up as you see below. The left modular router i set up the exactly the same as the right one.
Image
Then wait for the modular routers to activate which should be fairly quick and then the game would freeze then close. The mc world would crash the game with the same error anytime you try to load the world up again.

Expected behavior

The game or mc server not crashing and it doing nothing.

Additional details

No response

Which Minecraft version are you using?

1.20.1

Crash log

https://gist.github.com/JBSTheGamer/917fb8ee502cc646f81535a733827ec0

commented

Yeah, there's no simple way of fixing this. If each router is forcibly ticking the other one, this is gonna happen.

Probably the only option is to add a blacklist item tag for the activator module so it simply can't use the wand at all.

Also, this wand really shouldn't be usable by fake players. You could speak to the NotEnoughWands author about that.