Skip to content

Commit

Permalink
Fix getMinecraftHead calls
Browse files Browse the repository at this point in the history
  • Loading branch information
JLyne committed Sep 29, 2021
1 parent a65644c commit 5ce9225
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/chat/ChatMessage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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(() => {});
}
});
Expand Down
2 changes: 1 addition & 1 deletion src/components/sidebar/FollowTarget.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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) {}
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/sidebar/PlayerListItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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(() => {});
}
});

Expand Down

0 comments on commit 5ce9225

Please sign in to comment.