Update CmdFactionsName.java

Without this, a hacker/troller could "/f name (some random stuff)" spam, without the owner/admins know WHO did it.
With this, everyone knows who changed the "/f name".
This commit is contained in:
Tibo442 2014-01-21 20:39:30 +01:00
parent ddb1e1f3f4
commit 68192ff8b8

View File

@ -83,7 +83,7 @@ public class CmdFactionsName extends FCommand
{
continue;
}
faction.msg("<i>The faction %s<i> changed their name to %s.", usender.getColorTo(faction)+oldName, usenderFaction.getName(faction));
faction.msg("<i>The player %s<i> changed their faction name from %s<i> to %s<i>.", usender.describeTo(faction, true), usender.getColorTo(faction)+oldName, usenderFaction.getName(faction));
}
}