Send invite message to correct player. Fixes issue #132

This commit is contained in:
drtshock 2014-11-14 13:03:51 -06:00
parent 54d486cc84
commit 104f90c1db
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ public class CmdInvite extends FCommand {
// Tooltips, colors, and commands only apply to the string immediately before it.
FancyMessage message = new FancyMessage(fme.describeTo(you, true)).tooltip("Click to join!").command("f join " + myFaction.getTag()).then(" has invited you to join ").color(ChatColor.YELLOW).tooltip("Click to join!").command("f join " + myFaction.getTag()).then(myFaction.describeTo(you)).tooltip("Click to join!").command("f join " + myFaction.getTag());
sendFancyMessage(message);
message.send(you.getPlayer());
//you.msg("%s<i> invited you to %s", fme.describeTo(you, true), myFaction.describeTo(you));
myFaction.msg("%s<i> invited %s<i> to your faction.", fme.describeTo(myFaction, true), you.describeTo(myFaction));