no print when none

This commit is contained in:
Quaternions 2024-10-05 22:17:56 -07:00
parent 849b0813b9
commit de363bc271

View File

@ -247,6 +247,7 @@ impl mlua::UserData for Instance{
Some(&rbx_types::Variant::Ref(val))=>return Instance::new(val).into_lua(lua),
Some(&rbx_types::Variant::CFrame(cf))=>return Into::<super::cframe::CFrame>::into(cf).into_lua(lua),
Some(&rbx_types::Variant::Vector3(v))=>return Into::<super::vector3::Vector3>::into(v).into_lua(lua),
None=>(),
other=>println!("instance.properties.get(i)={other:?}"),
}
//find a function with a matching name