pmcf 1.2.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/model.mjs +1 -4
package/package.json
CHANGED
package/src/model.mjs
CHANGED
|
@@ -137,10 +137,7 @@ export class World {
|
|
|
137
137
|
|
|
138
138
|
data.name = baseName;
|
|
139
139
|
|
|
140
|
-
|
|
141
|
-
if (t2) {
|
|
142
|
-
type = t2;
|
|
143
|
-
}
|
|
140
|
+
type = type.refinedType(data);
|
|
144
141
|
const object = new type(this, data);
|
|
145
142
|
this.#byName.set(data.name, object);
|
|
146
143
|
}
|