Use explicit Optional<T> type for OptionalCFrame.

This commit is contained in:
Max
2021-05-05 13:06:20 -05:00
parent 0e7f9030c8
commit f421743b08
10 changed files with 69 additions and 14 deletions

View File

@ -378,7 +378,7 @@ return
ModelMeshData = "SharedString";
ModelMeshSize = "Vector3";
NeedsPivotMigration = "bool";
WorldPivotData = "OptionalCFrame";
WorldPivotData = "Optional<CFrame>";
};
};

View File

@ -640,10 +640,6 @@ local function generateClasses()
writeLine("[Obsolete]")
end
if valueType == "OptionalCFrame" then
valueType = "CFrame"
end
writeLine("public %s %s%s;", valueType, name, default)