Renamed sendMessageParsed to msg

This commit is contained in:
Olof Larsson
2011-10-10 13:40:24 +02:00
parent aceeea8b0e
commit 1d44aa0c9c
48 changed files with 191 additions and 191 deletions

View File

@@ -53,7 +53,7 @@ public class CmdDisband extends FCommand
if (faction.isPermanent())
{
sendMessageParsed("<i>This faction is designated as permanent, so you cannot disband it.");
msg("<i>This faction is designated as permanent, so you cannot disband it.");
return;
}
@@ -63,11 +63,11 @@ public class CmdDisband extends FCommand
String who = senderIsConsole ? "A server admin" : fme.getNameAndRelevant(fplayer);
if (fplayer.getFaction() == faction)
{
fplayer.sendMessageParsed("<h>%s<i> disbanded your faction.", who);
fplayer.msg("<h>%s<i> disbanded your faction.", who);
}
else
{
fplayer.sendMessageParsed("<h>%s<i> disbanded the faction %s.", who, faction.getTag(fplayer));
fplayer.msg("<h>%s<i> disbanded the faction %s.", who, faction.getTag(fplayer));
}
}
@@ -78,7 +78,7 @@ public class CmdDisband extends FCommand
if (amount > 0.0)
{
String amountString = Econ.moneyString(amount);
sendMessageParsed("<i>You have been given the disbanded faction's bank, totaling %s.", amountString);
msg("<i>You have been given the disbanded faction's bank, totaling %s.", amountString);
P.p.log(fme.getName() + " has been given bank holdings of "+amountString+" from disbanding "+faction.getTag()+".");
}
}