Tweaks to essentials interface commands.

This commit is contained in:
StevenLawson 2013-09-24 20:32:04 -04:00
parent 01807d1f0f
commit f49c4568b2
5 changed files with 8 additions and 8 deletions

View File

@ -1,5 +1,5 @@
#Tue, 24 Sep 2013 10:08:38 -0400
#Tue, 24 Sep 2013 20:09:17 -0400
program.VERSION=3.2
program.BUILDNUM=604
program.BUILDDATE=09/24/2013 10\:08 AM
program.BUILDNUM=611
program.BUILDDATE=09/24/2013 08\:09 PM

View File

@ -1,3 +1,3 @@
#Build Number for ANT. Do not edit!
#Tue Sep 24 10:08:38 EDT 2013
build.number=605
#Tue Sep 24 20:09:17 EDT 2013
build.number=612

View File

@ -87,7 +87,7 @@ jnlp.signing.keystore=
main.class=totalfreedommod.TotalFreedomMod
manifest.file=manifest.mf
meta.inf.dir=${src.dir}/META-INF
mkdist.disabled=false
mkdist.disabled=true
platform.active=default_platform
run.classpath=\
${javac.classpath}:\

View File

@ -47,7 +47,7 @@ public class Command_colorme extends TFM_Command
return true;
}
final String newNick = color + ChatColor.stripColor(sender_p.getDisplayName()) + ChatColor.WHITE;
final String newNick = color + ChatColor.stripColor(sender_p.getDisplayName()).trim() + ChatColor.WHITE;
TFM_EssentialsBridge.getInstance().setNickname(sender.getName(), newNick);

View File

@ -46,7 +46,7 @@ public class Command_nicknyan extends TFM_Command
{
continue;
}
if (player.getName().equalsIgnoreCase(nickPlain) || ChatColor.stripColor(player.getDisplayName()).equalsIgnoreCase(nickPlain))
if (player.getName().equalsIgnoreCase(nickPlain) || ChatColor.stripColor(player.getDisplayName()).trim().equalsIgnoreCase(nickPlain))
{
playerMsg("That nickname is already in use.");
return true;