Expose RojoTree::get_metadata publicly

This commit is contained in:
Lucien Greathouse
2019-10-01 13:47:25 -07:00
parent 9f5875d4bb
commit b94f21402c

View File

@@ -142,7 +142,7 @@ impl RojoTree {
self.path_to_ids.get(path) self.path_to_ids.get(path)
} }
fn get_metadata(&self, id: RbxId) -> Option<&InstanceMetadata> { pub fn get_metadata(&self, id: RbxId) -> Option<&InstanceMetadata> {
self.metadata_map.get(&id) self.metadata_map.get(&id)
} }