From 68192ff8b83cb7612f0ee89a97ea0aeebd1874e8 Mon Sep 17 00:00:00 2001 From: Tibo442 Date: Tue, 21 Jan 2014 20:39:30 +0100 Subject: [PATCH] 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". --- src/com/massivecraft/factions/cmd/CmdFactionsName.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/massivecraft/factions/cmd/CmdFactionsName.java b/src/com/massivecraft/factions/cmd/CmdFactionsName.java index f0708a8f..7d282d8e 100644 --- a/src/com/massivecraft/factions/cmd/CmdFactionsName.java +++ b/src/com/massivecraft/factions/cmd/CmdFactionsName.java @@ -83,7 +83,7 @@ public class CmdFactionsName extends FCommand { continue; } - faction.msg("The faction %s changed their name to %s.", usender.getColorTo(faction)+oldName, usenderFaction.getName(faction)); + faction.msg("The player %s changed their faction name from %s to %s.", usender.describeTo(faction, true), usender.getColorTo(faction)+oldName, usenderFaction.getName(faction)); } }