B1n-ry / Youre-in-grave-danger

A minecraft mod which adds one single block. The grave, which will generate when you die, and store your items
https://www.curseforge.com/minecraft/mc-mods/youre-in-grave-danger
MIT License
65 stars 18 forks source link

Inventory clearing, possible bug? #162

Closed GrahamJenkins closed 3 months ago

GrahamJenkins commented 5 months ago

Hello, I'm not sure if this is a bug or simply being unfamiliar with the commands, but I was trying to restore a last grave using commands and used /yigd restore (myname). It said "An unexpected error occurred trying to execute that command" and cleared my inventory. In the server console the only output was the standard output from a /clear command, "removed X items from player X"

B1n-ry commented 5 months ago

That would definitely be a bug, yes. Usually you get a little bit more information out of the error if hoovering over the error message in the in-game chat, although it might not always pinpoint the issue correctly. I have no idea why it gives the clear return message in the server logs though. I'm not sure if a version mismatch between the server mod version and client mod version could trigger this, but I might as well mention it, if that would be the cause.

I didn't manage to reproduce the bug by just /kill and /yigd restore, so any additional information or reproduceable steps would be greatly appreciated!

B1n-ry commented 4 months ago

Any updates? As I mentioned I'm not able to reproduce the issue, and in turn not find what's wrong to fix. Unless I receive more information on this, I will likely close the issue unsolved in a few days

GrahamJenkins commented 3 months ago

@B1n-ry Hi there, sorry I didn't see your response. Unfortunately no, I wasn't able to figure out how to reproduce it. I'm going off memory from a couple of months ago, and there weren't any useful logs that I could find. We can close this for now, if it comes up again I'll re-open or add onto this with reproduction instructions. If nothing else we can just treat this as a suspicion that there may be an issue. Or maybe not.

Thanks!