Fix getMinecraftHead calls
This commit is contained in:
parent
a65644cf34
commit
5ce922505b
@ -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(() => {});
|
||||
}
|
||||
});
|
||||
|
@ -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) {}
|
||||
}
|
||||
|
@ -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(() => {});
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user