From 05964f3727085f6b244d9d69c5301b6c6e9a7f62 Mon Sep 17 00:00:00 2001 From: Aaron <51387595+AzureAaron@users.noreply.github.com> Date: Sun, 29 Dec 2024 16:46:12 -0500 Subject: [PATCH] Fix pet icon showing as a bone for skinned pets --- .../de/hysky/skyblocker/skyblock/tabhud/widget/PetWidget.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/de/hysky/skyblocker/skyblock/tabhud/widget/PetWidget.java b/src/main/java/de/hysky/skyblocker/skyblock/tabhud/widget/PetWidget.java index c25d4fe814..6c55410d54 100644 --- a/src/main/java/de/hysky/skyblocker/skyblock/tabhud/widget/PetWidget.java +++ b/src/main/java/de/hysky/skyblocker/skyblock/tabhud/widget/PetWidget.java @@ -35,7 +35,7 @@ protected void updateContent(List lines) { addComponent(new PlainTextComponent(line)); continue; } - String petName = split[1].trim(); + String petName = split[1].replace("✦", "").trim(); if (!petName.equals(prevString)) { icon = ItemRepository.getItemsStream().filter(stack -> { String trim = stack.getName().getString().trim();