finishing with Phase 2
This commit is contained in:
@@ -147,6 +147,18 @@
|
||||
}
|
||||
}
|
||||
// The vanilla/base texture must always be loaded first, then features.
|
||||
// Wide player models additionally always load L1Z0's custom skins
|
||||
// alongside the default Steve skin (tracked in static/player_skins/).
|
||||
if (entity === 'player') {
|
||||
for (const name of ['destroyed_skin.png', 'russian_goat.png']) {
|
||||
try {
|
||||
const img = await loadImage('/static/player_skins/' + name);
|
||||
baseTextures.push({ name: name, dataUrl: imageDataUrl(img) });
|
||||
} catch (e) {
|
||||
console.warn('packs: skip player skin', name, e);
|
||||
}
|
||||
}
|
||||
}
|
||||
return baseTextures.concat(featureTextures);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user