Fix message colour for invite commands
This commit is contained in:
		@@ -47,7 +47,7 @@ public class CmdFactionsInviteAdd extends FactionsCommand
 | 
				
			|||||||
			// Already member?
 | 
								// Already member?
 | 
				
			||||||
			if (mplayer.getFaction() == msenderFaction)
 | 
								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;
 | 
									continue;
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
			
 | 
								
 | 
				
			||||||
@@ -83,7 +83,7 @@ public class CmdFactionsInviteAdd extends FactionsCommand
 | 
				
			|||||||
				);
 | 
									);
 | 
				
			||||||
				
 | 
									
 | 
				
			||||||
				// Inform
 | 
									// 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);
 | 
									message(remove);
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -75,7 +75,7 @@ public class CmdFactionsInviteRemove extends FactionsCommand
 | 
				
			|||||||
				);
 | 
									);
 | 
				
			||||||
				
 | 
									
 | 
				
			||||||
				// Inform
 | 
									// 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);
 | 
									message(kick);
 | 
				
			||||||
				continue;
 | 
									continue;
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -459,6 +459,7 @@ public class Faction extends Entity<Faction> implements FactionsParticipator
 | 
				
			|||||||
	
 | 
						
 | 
				
			||||||
	public boolean uninvite(String playerId)
 | 
						public boolean uninvite(String playerId)
 | 
				
			||||||
	{
 | 
						{
 | 
				
			||||||
 | 
							System.out.println(playerId);
 | 
				
			||||||
		return this.getInvitations().detachId(playerId) != null;
 | 
							return this.getInvitations().detachId(playerId) != null;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	
 | 
						
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user