[BUG] Create Drill deleting NBT data and therefore item
Paradox9153 opened this issue · 3 comments
This is a more niche bug but when a drill breaks a gravestone it losses all the items it was storing (this might be with any non-player breakage but im not sure)
Ver. 1.20.1-3.2.5
-
Die
-
Spawn grave
-
Have drills (from create mod) break grave
-
lose item
-
drop items on to ground
-
store item into moving storages if drills are connected to moving object
I would like to also mention that it states that the graves exists at coordinates and that its unopened but when going to said coordinates there is no grave
This issue can also be encountered if you disable the breaking mode, therefore since the nbt data is missing. the grave is just permanently stuck there forever. (Unless removed with a drill once again)
Thanks for the heads up, @PolyframeX. Been a bit inactive, I'm not really playing Minecraft much these days and been busy with other things, but I'll see what I can do sometime soon™️. Maybe later this week.. I want to get around to updating it to 1.20.4 before I work on anything else though.
Thanks for the report!
I'll have to think about how to combat that.. perhaps I can simply respawn the grave if it wasn't broken by either the player or via the delete or restore commands. 🤔 That would prevent other mods from breaking it as well, theoretically, which has been a problem in the past.
I would like to also mention that it states that the graves exists at coordinates and that its unopened but when going to said coordinates there is no grave
Yup, that's working as intended. The mod doesn't really check if it exists or not when it comes to displaying if it's been opened; a flag is changed when the player retrieves it or when a command affects it which in turns makes it display as opened.