mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-27 01:05:38 +00:00
Tweaks to essentials interface commands.
This commit is contained in:
parent
01807d1f0f
commit
f49c4568b2
@ -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.VERSION=3.2
|
||||||
program.BUILDNUM=604
|
program.BUILDNUM=611
|
||||||
program.BUILDDATE=09/24/2013 10\:08 AM
|
program.BUILDDATE=09/24/2013 08\:09 PM
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
#Build Number for ANT. Do not edit!
|
#Build Number for ANT. Do not edit!
|
||||||
#Tue Sep 24 10:08:38 EDT 2013
|
#Tue Sep 24 20:09:17 EDT 2013
|
||||||
build.number=605
|
build.number=612
|
||||||
|
@ -87,7 +87,7 @@ jnlp.signing.keystore=
|
|||||||
main.class=totalfreedommod.TotalFreedomMod
|
main.class=totalfreedommod.TotalFreedomMod
|
||||||
manifest.file=manifest.mf
|
manifest.file=manifest.mf
|
||||||
meta.inf.dir=${src.dir}/META-INF
|
meta.inf.dir=${src.dir}/META-INF
|
||||||
mkdist.disabled=false
|
mkdist.disabled=true
|
||||||
platform.active=default_platform
|
platform.active=default_platform
|
||||||
run.classpath=\
|
run.classpath=\
|
||||||
${javac.classpath}:\
|
${javac.classpath}:\
|
||||||
|
@ -47,7 +47,7 @@ public class Command_colorme extends TFM_Command
|
|||||||
return true;
|
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);
|
TFM_EssentialsBridge.getInstance().setNickname(sender.getName(), newNick);
|
||||||
|
|
||||||
|
@ -46,7 +46,7 @@ public class Command_nicknyan extends TFM_Command
|
|||||||
{
|
{
|
||||||
continue;
|
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.");
|
playerMsg("That nickname is already in use.");
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user