mirror of
https://github.com/luau/UniversalSynSaveInstance.git
synced 2026-02-04 14:43:14 +02:00
Sync
This commit is contained in:
@@ -713,8 +713,12 @@ local function ReturnValueAndTag(raw, ValueType, Descriptor)
|
||||
return value, tag == nil and ValueType or tag
|
||||
end
|
||||
|
||||
local OverwriteDefaults =
|
||||
{ __api_dump_class_not_creatable__ = true, __api_dump_no_string_value__ = true, __api_dump_skipped_class__ = true }
|
||||
local BlacklistedDefaults = {
|
||||
__api_dump_class_not_creatable__ = true,
|
||||
__api_dump_no_string_value__ = true,
|
||||
__api_dump_skipped_class__ = true,
|
||||
-- __api_dump_write_only_property__ = true, -- ? Is this needed
|
||||
}
|
||||
|
||||
local StatusGui = Instance.new("ScreenGui")
|
||||
StatusGui.DisplayOrder = math.huge
|
||||
@@ -1073,7 +1077,7 @@ local function synsaveinstance(CustomOptions)
|
||||
|
||||
local Default = Property.Default
|
||||
|
||||
if OverwriteDefaults[Default] then
|
||||
if BlacklistedDefaults[Default] then
|
||||
local ClassTags = ClassList[ClassName].Tags
|
||||
|
||||
local NotCreatable = ClassTags and ClassTags.NotCreatable
|
||||
|
||||
Reference in New Issue
Block a user