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:
parent
ddb1e1f3f4
commit
68192ff8b8
@ -83,7 +83,7 @@ public class CmdFactionsName extends FCommand
|
|||||||
{
|
{
|
||||||
continue;
|
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));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user