We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3686a7e commit ca50723Copy full SHA for ca50723
src/variants.ts
@@ -177,10 +177,10 @@ export class Variant {
177
178
public static fromJSON(json: IBlueprintVariantJSON, isDefault = false): Variant {
179
const variant = new Variant(json.display_name, isDefault)
180
+ variant.uuid = json.uuid
181
if (json.is_default) {
182
return variant
183
}
- variant.uuid = json.uuid
184
for (const [key, value] of Object.entries(json.texture_map)) {
185
variant.textureMap.add(key, value)
186
0 commit comments