Sometimes when players upgrade their stone builds to Container it goes to twig and sometimes just break the wall
UPGRADE TO METAL BUGS
look for the problem in another plugin
Marat
look for the problem in another plugin
Hello! I found the reason of this issue.
By default, when taking damage, the building block cannot be improved or repaired for 30 seconds. However, the plugin did not take this into account and allowed to improve or change the skin, in connection with which the building became Twigs or even moved aside.
I fixed this by adding a check in the hooks OnHammerHit() and OnStructureUpgrade():
if (block.SecondsSinceAttacked <= 30f) return; // for OnHammerHit
if (block.SecondsSinceAttacked <= 30f) return null; // for OnStructureUpgrade