diff --git a/src/lune/globals/typeof.rs b/src/lune/globals/typeof.rs index 2d9b91a..f4f4631 100644 --- a/src/lune/globals/typeof.rs +++ b/src/lune/globals/typeof.rs @@ -2,7 +2,7 @@ use mlua::prelude::*; use crate::roblox::datatypes::extension::RobloxUserdataTypenameExt; -const REGISTRY_KEY: &str = "NetClient"; +const REGISTRY_KEY: &str = "LuauTypeof"; pub fn create(lua: &Lua) -> LuaResult> { let original = lua.globals().get::<_, LuaFunction>("typeof")?;