From 28fa9bfc5ac5f9159fecac5c807f6d2f286188fb Mon Sep 17 00:00:00 2001 From: AlgorithmX2 Date: Wed, 5 Feb 2014 23:17:06 -0600 Subject: [PATCH] Tweaked Biometric Cards for Sorting purposes. --- items/tools/ToolBiometricCard.java | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/items/tools/ToolBiometricCard.java b/items/tools/ToolBiometricCard.java index 319bd69f..4853f818 100644 --- a/items/tools/ToolBiometricCard.java +++ b/items/tools/ToolBiometricCard.java @@ -32,7 +32,9 @@ public class ToolBiometricCard extends AEBaseItem implements IBiometricCard public String getItemDisplayName(ItemStack is) { String username = getUsername( is ); - return username.length() > 0 ? super.getItemDisplayName( is ) + " - " + GuiText.Encoded.getLocal() : super.getItemDisplayName( is ); + return username.length() > 0 ? super.getItemDisplayName( is ) + " - " + username : super.getItemDisplayName( is );// GuiText.Encoded.getLocal() + // // + // ); } @Override @@ -74,9 +76,9 @@ public class ToolBiometricCard extends AEBaseItem implements IBiometricCard @Override public void addInformation(ItemStack is, EntityPlayer p, List l, boolean b) { - String username = getUsername( is ); - if ( username.length() > 0 ) - l.add( username ); + // String username = getUsername( is ); + // if ( username.length() > 0 ) + // l.add( username ); EnumSet perms = getPermissions( is ); if ( perms.isEmpty() )