Crash when "crafting" the stonecutter
jinkhya opened this issue · 15 comments
Hello,
A player on our server threw ingredients and as soon as he used the anvil to make the stonecutter it crashed : https://gist.github.com/jinkhya/80464433f011b850e721be9968af9d47
Modpack Enigmatica 6 (v 0.3.6)
Stone cutter 1.3.2
Forge 35.1.36
Thanks in advance.
I can't seem to reproduce the issue, either on e6 or my dev instance. The crash seems to be related to the matching function, do you know what ingredients he had under the anvil ?
I asked him, he said he threw a pressure plate (potentially spruce), 2 redstone and a stone cutter. I asked if he threw something else by mistake, he doesn't think so as far as he remembers.
I just got this same crash on the offical server. The player placed the pressure plate instead of throwing it on the ground.
tried the same setup on a singleplayer e6 instance, didn't crash either, I added a few checks to the matching functions to prevent it from getting out of bounds. No idea if it fixed it since I still can't reproduce it.
Got it, reopening that one I'll look into it in the morning. That information might actually allow me to replicate it this time.
Finally managed to crash it, it happens when you put too much of one ingredient. Also confirmed that my fix works.
Releasing 1.3.4 as a hotfix.