Fix getMinecraftHead calls

This commit is contained in:
James Lyne 2021-09-29 14:39:56 +01:00
parent a65644cf34
commit 5ce922505b
3 changed files with 3 additions and 3 deletions

View File

@ -64,7 +64,7 @@
onMounted(() => {
if(showFace.value) {
getMinecraftHead(props.message.playerAccount as string, '16')
getMinecraftHead(props.message.playerAccount as string, 'small')
.then((result) => image.value = result.src).catch(() => {});
}
});

View File

@ -69,7 +69,7 @@ export default defineComponent({
if(store.state.components.playerMarkers && store.state.components.playerMarkers.showSkins) {
try {
const result = await getMinecraftHead(props.target, '16');
const result = await getMinecraftHead(props.target, 'small');
image.value = result.src;
} catch (e) {}
}

View File

@ -92,7 +92,7 @@ export default defineComponent({
onMounted(() => {
if(store.state.components.playerMarkers && store.state.components.playerMarkers.showSkins) {
getMinecraftHead(props.player, '16').then((result) => image.value = result.src).catch(() => {});
getMinecraftHead(props.player, 'small').then((result) => image.value = result.src).catch(() => {});
}
});