Chest pickup allows for triple chest
democat3457 opened this issue ยท 10 comments
I will now mark this as resolved. For 2.0.0, this can still happen but is very improbable.
I have not worked on it yet, and it is not a priority either frankly. It causes no duplication glitch or anything, just some messy visuals.
Well... may I ask how you discovered this? When I wrote this "fix" for the situation where the player dies while carrying, I knew that things like this could happen, but I went with it anyway because it's such a rare case and frankly I don't really see a better way to do it.
I guess I could search for a larger area to place the chest, but that also doesn't solve the problem, just make it more unlikely.
What do you suggest?
Well, I feel like it's really just cheese for the sake of cheese... I guess it could replace a block? Or, if it's possible, just make the chests not connect? I don't really know, like you said, it's more of an edge case... (I was hoping you'd have some ideas lol)
mhh I think replacing a block could lead to even worse bugs, like destroying unbreakable blocks or something like that. I guess I'll just increase the search range and try to find a better spot to place it. Did you find this bug by just playing or by going through the code?
I guess I'll just increase the search range and try to find a better spot to place it.
Update?