block object
This commit is contained in:
@@ -37,8 +37,6 @@ export class Blockstate {
|
||||
this.variants = json.variants;
|
||||
this.multipart = json.multipart;
|
||||
|
||||
// Memoize evaluated property combinations to prevent console spam
|
||||
// and speed up Sweep 2 recalculations.
|
||||
this._resolutionCache = new Map();
|
||||
}
|
||||
|
||||
@@ -95,7 +93,6 @@ export class Blockstate {
|
||||
}
|
||||
|
||||
resolveParts(properties) {
|
||||
// Create a deterministic cache key from the properties object
|
||||
const cacheKey = Object.keys(properties).sort().map(k => `${k}=${properties[k]}`).join(',');
|
||||
|
||||
if (this._resolutionCache.has(cacheKey)) {
|
||||
|
||||
Reference in New Issue
Block a user