Block Place Crash
Walaryne opened this issue ยท 10 comments
I created a simple spell that places blocks at a range, and while placing blocks upon reaching the end of a stack and placing the final block, Minecraft crashes immediately to desktop.
Thanks. My own experience: I am also getting crashes from placing blocks, most recently with a simple bridge spell. It happens maybe one time in 6 or 10 from placing 8 blocks along a modified look vector.
Dykam: I'm not so sure about that, I'm fairly sure I've had crashes where I hadn't used up my stack of blocks.
Adding one more crash report.
It seems to happen when placing a block clears the stack, and looking at the source, it seems to match. It makes any placeblock fairly unusable as you have to keep peeking in your inventory to make sure the stack never clears.
Hmm. If I've got, say, stone bricks in my hotbar for the spell, can the spell take from (and maybe exhaust) stone bricks from my main inventory instead?
@MentalMouse That's the behavior which caused a problem for me. It takes it from the inventory first, and when the stack it is taking it from, empties (and it possibly has to take from the next stack), it causes an NPE.
I agree with Dykam here, I have had the same exact thing happening.
MentalMouse, you may have a different issue.
another crash but from a server:
https://gist.github.com/FiveEYZ/e9db5b7c07030b81f0610fc471b15713
any news on this?