diff options
| author | Aaron <51387595+AzureAaron@users.noreply.github.com> | 2024-01-19 23:31:31 -0500 |
|---|---|---|
| committer | Rime <81419447+Emirlol@users.noreply.github.com> | 2024-01-21 09:37:49 +0300 |
| commit | f7f8e5f0b8f9d638566e8528e1a64219b8bf40ad (patch) | |
| tree | 960157498fc1414db3f9e37d93b214d0d6eb1d7c /src/main/java/de/hysky/skyblocker/skyblock/dungeon | |
| parent | 044f700a3c5c1a54eb39b2210f5dfdf18f528d7b (diff) | |
| download | Skyblocker-f7f8e5f0b8f9d638566e8528e1a64219b8bf40ad.tar.gz Skyblocker-f7f8e5f0b8f9d638566e8528e1a64219b8bf40ad.tar.bz2 Skyblocker-f7f8e5f0b8f9d638566e8528e1a64219b8bf40ad.zip | |
Small changes
Diffstat (limited to 'src/main/java/de/hysky/skyblocker/skyblock/dungeon')
| -rw-r--r-- | src/main/java/de/hysky/skyblocker/skyblock/dungeon/DungeonScore.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/de/hysky/skyblocker/skyblock/dungeon/DungeonScore.java b/src/main/java/de/hysky/skyblocker/skyblock/dungeon/DungeonScore.java index 4dfbf62a..c6dbf8dc 100644 --- a/src/main/java/de/hysky/skyblocker/skyblock/dungeon/DungeonScore.java +++ b/src/main/java/de/hysky/skyblocker/skyblock/dungeon/DungeonScore.java @@ -193,8 +193,8 @@ public class DungeonScore { try { DefaultedList<ItemStack> armor = (DefaultedList<ItemStack>) zombie.getArmorItems(); return armor.stream().allMatch(ItemStack::isEmpty); - } catch (Exception f) { - LOGGER.error("[Skyblocker] Failed to check if entity is a mimic! Cause: {}", f.getMessage()); + } catch (Exception e) { + LOGGER.error("[Skyblocker] Failed to check if entity is a mimic!", e); return false; } } @@ -297,7 +297,7 @@ public class DungeonScore { return true; } } catch (Exception e) { - LOGGER.error("[Skyblocker] Spirit pet lookup by name failed! Name: {} - Cause: {}", name, e.getMessage()); + LOGGER.error("[Skyblocker] Spirit pet lookup by name failed! Name: {}", name, e); } return false; }); |
