Fix message colour for invite commands
This commit is contained in:
parent
baf1d6fde8
commit
25a54882c9
@ -47,7 +47,7 @@ public class CmdFactionsInviteAdd extends FactionsCommand
|
||||
// Already member?
|
||||
if (mplayer.getFaction() == msenderFaction)
|
||||
{
|
||||
msg("%s<i> is already a member of %s<i>.", mplayer.getName(), msenderFaction.getName());
|
||||
msg("%s<i> is already a member of %s<i>.", mplayer.getName(), msenderFaction.getName(msender));
|
||||
continue;
|
||||
}
|
||||
|
||||
@ -83,7 +83,7 @@ public class CmdFactionsInviteAdd extends FactionsCommand
|
||||
);
|
||||
|
||||
// Inform
|
||||
msg("%s <i>is already invited to %s<i>.", mplayer.getName(), msenderFaction.getName());
|
||||
msg("%s <i>is already invited to %s<i>.", mplayer.getName(), msenderFaction.getName(msender));
|
||||
message(remove);
|
||||
}
|
||||
}
|
||||
|
@ -75,7 +75,7 @@ public class CmdFactionsInviteRemove extends FactionsCommand
|
||||
);
|
||||
|
||||
// Inform
|
||||
msg("%s<i> is already a member of %s<i>.", mplayer.getName(), msenderFaction.getName());
|
||||
msg("%s<i> is already a member of %s<i>.", mplayer.getName(), msenderFaction.getName(msender));
|
||||
message(kick);
|
||||
continue;
|
||||
}
|
||||
|
@ -459,6 +459,7 @@ public class Faction extends Entity<Faction> implements FactionsParticipator
|
||||
|
||||
public boolean uninvite(String playerId)
|
||||
{
|
||||
System.out.println(playerId);
|
||||
return this.getInvitations().detachId(playerId) != null;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user