summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsnowleo <schneeleo@gmail.com>2011-08-08 15:13:27 +0200
committersnowleo <schneeleo@gmail.com>2011-08-08 15:13:27 +0200
commit5db35458e881405f5200386359e3b3ef3280b835 (patch)
tree0c1c282cbe10db4bde6ad127dc8598aa15d56a8b
parentcf4752dad6a5e217f916a1906c732226054fdcad (diff)
downloadEssentials-5db35458e881405f5200386359e3b3ef3280b835.tar
Essentials-5db35458e881405f5200386359e3b3ef3280b835.tar.gz
Essentials-5db35458e881405f5200386359e3b3ef3280b835.tar.lz
Essentials-5db35458e881405f5200386359e3b3ef3280b835.tar.xz
Essentials-5db35458e881405f5200386359e3b3ef3280b835.zip
Limiting the length of the name on signs to 13 instead of 14
-rw-r--r--Essentials/src/com/earth2me/essentials/signs/EssentialsSign.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/Essentials/src/com/earth2me/essentials/signs/EssentialsSign.java b/Essentials/src/com/earth2me/essentials/signs/EssentialsSign.java
index ec2bd7125..3dfc1b86b 100644
--- a/Essentials/src/com/earth2me/essentials/signs/EssentialsSign.java
+++ b/Essentials/src/com/earth2me/essentials/signs/EssentialsSign.java
@@ -72,7 +72,7 @@ public class EssentialsSign
private String getUsername(final User user)
{
- return user.getName().substring(0, user.getName().length() > 14 ? 14 : user.getName().length());
+ return user.getName().substring(0, user.getName().length() > 13 ? 13 : user.getName().length());
}
public final boolean onSignInteract(final Block block, final Player player, final IEssentials ess)