closeAndUntrackAll

public static void closeAndUntrackAll(ArmorStand armorStand)

Closes all inventories tracked for the given armor stand and removes them from tracking. This prevents the InventoryCloseEvent from re-saving data after contents have been dropped. Must be called BEFORE dropping items to avoid duplication.