mirror of
https://github.com/TheDeus-Group/TFM-4.3-Reloaded.git
synced 2024-12-23 08:34:58 +00:00
Tweaks to essentials interface commands.
This commit is contained in:
parent
01807d1f0f
commit
f49c4568b2
5 changed files with 8 additions and 8 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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}:\
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue