File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -538,7 +538,9 @@ export class Entities {
538538 return
539539 }
540540
541- this . currentSkinUrls [ String ( entityId ) ] = skinUrl
541+ if ( skinUrl !== stevePngUrl ) {
542+ this . currentSkinUrls [ String ( entityId ) ] = skinUrl
543+ }
542544 const renderEars = this . worldRenderer . worldRendererConfig . renderEars || username === 'deadmau5'
543545 void this . loadAndApplySkin ( entityId , skinUrl , renderEars ) . then ( async ( ) => {
544546 if ( capeUrl ) {
@@ -597,6 +599,7 @@ export class Entities {
597599 skinTexture . needsUpdate = true
598600 playerObject . skin . map = skinTexture as any
599601 playerObject . skin . modelType = inferModelType ( skinCanvas )
602+ playerObject . skin [ 'isCustom' ] = skinUrl !== stevePngUrl
600603
601604 let earsCanvas : HTMLCanvasElement | undefined
602605 if ( ! playerCustomSkinImage ) {
You can’t perform that action at this time.
0 commit comments