Allow newline in faction motd

This commit is contained in:
Magnus Ulf
2019-01-08 17:37:36 +01:00
parent 9219c3eaa4
commit 84b66ba18b
2 changed files with 8 additions and 4 deletions

View File

@@ -63,11 +63,12 @@ public class CmdFactionsMotd extends FactionsCommand
// Apply
msenderFaction.setMotd(target);
// Inform
for (MPlayer follower : msenderFaction.getMPlayers())
{
follower.msg("<i>%s <i>set your faction motd to:\n%s", MixinDisplayName.get().getDisplayName(sender, follower), msenderFaction.getMotdDesc());
follower.msg("<i>%s <i>changed your faction motd.", MixinDisplayName.get().getDisplayName(sender, follower));
follower.message(msenderFaction.getMotdMessages());
}
}