Use explicit Optional<T> type for OptionalCFrame.
This commit is contained in:
@ -378,7 +378,7 @@ return
|
||||
ModelMeshData = "SharedString";
|
||||
ModelMeshSize = "Vector3";
|
||||
NeedsPivotMigration = "bool";
|
||||
WorldPivotData = "OptionalCFrame";
|
||||
WorldPivotData = "Optional<CFrame>";
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user