From 77a074ec5eda90f07d6d4073c18c2684071c9375 Mon Sep 17 00:00:00 2001 From: noil Date: Thu, 24 Dec 2020 12:32:52 -0500 Subject: [PATCH] EntityList: Removed position from chat info --- .../seppuku/impl/gui/hud/component/EntityListComponent.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/me/rigamortis/seppuku/impl/gui/hud/component/EntityListComponent.java b/src/main/java/me/rigamortis/seppuku/impl/gui/hud/component/EntityListComponent.java index 089c54d..d472d20 100644 --- a/src/main/java/me/rigamortis/seppuku/impl/gui/hud/component/EntityListComponent.java +++ b/src/main/java/me/rigamortis/seppuku/impl/gui/hud/component/EntityListComponent.java @@ -322,10 +322,10 @@ public final class EntityListComponent extends DraggableHudComponent { } } - final String info = String.format("\n%s\n- Pos: %s\n- Key: %s\n- Enchantments: %s\n- Durability: %s", ChatFormatting.AQUA + itemStack.getDisplayName() + ChatFormatting.RESET, entityItem.getPosition().toString(), itemStack.getTranslationKey(), enchantStringBuilder.toString(), itemStack.getMaxDamage() - itemStack.getItemDamage()); + final String info = String.format("\n%s\n- Key: %s\n- Enchantments: %s\n- Durability: %s", ChatFormatting.AQUA + itemStack.getDisplayName() + ChatFormatting.RESET, itemStack.getTranslationKey(), enchantStringBuilder.toString(), itemStack.getMaxDamage() - itemStack.getItemDamage()); Seppuku.INSTANCE.logChat(info); } else { - final String info = String.format("\n%s\n- Pos: %s\n- Key: %s\n- Count: %s\n- Metadata: %s\n- Damage: %s\n- Max Damage: %s\n- Durability: %s", ChatFormatting.GRAY + itemStack.getDisplayName(), entityItem.getPosition().toString(), itemStack.getTranslationKey(), itemStack.getCount(), itemStack.getMetadata(), itemStack.getItemDamage(), itemStack.getMaxDamage(), itemStack.getMaxDamage() - itemStack.getItemDamage()); + final String info = String.format("\n%s\n- Key: %s\n- Count: %s\n- Metadata: %s\n- Damage: %s\n- Max Damage: %s\n- Durability: %s", ChatFormatting.GRAY + itemStack.getDisplayName(), itemStack.getTranslationKey(), itemStack.getCount(), itemStack.getMetadata(), itemStack.getItemDamage(), itemStack.getMaxDamage(), itemStack.getMaxDamage() - itemStack.getItemDamage()); Seppuku.INSTANCE.logChat(info); NBTTagCompound tagCompound = itemStack.getTagCompound(); if (tagCompound != null && !tagCompound.isEmpty()) {