Closed broken1arrow closed 2 years ago
Thinking on this issue https://github.com/apavarino/Deadchest/issues/43 and other complain the command not work.
You can fix that on 1.14 and newer minecraft versions to use persistent data container or short pdc and save data inside that (will not lose data on restart). https://hub.spigotmc.org/javadocs/spigot/org/bukkit/persistence/PersistentDataContainer.html
It exist good api you can use, insisted of make your own here https://github.com/tr7zw/Item-NBT-API to easy utilize PDC.
If you restart the server it will not find the deadchest spawned armorstands. But this option will instead remove all armorstands close to the player (So it could also remove wrong stands).
This will force remove all armorstands no mater if it conected to deadchest or not.
Don´t know if /deadchest:dc repair force or /deadchest:dc repair true is best option.