mirror of
				https://github.com/mcMMO-Dev/mcMMO.git
				synced 2025-11-04 11:03:43 +01:00 
			
		
		
		
	Fixed /party not showing properly the member list
This commit is contained in:
		@@ -23,6 +23,7 @@ Version 1.3.07
 | 
				
			|||||||
 = Fixed bug where an arrow could bounce off entities on daze proc
 | 
					 = Fixed bug where an arrow could bounce off entities on daze proc
 | 
				
			||||||
 = Fixed bug where a player could gain Acrobatics experience while riding a cart
 | 
					 = Fixed bug where a player could gain Acrobatics experience while riding a cart
 | 
				
			||||||
 = Fixed /party not working properly with 2 arguments
 | 
					 = Fixed /party not working properly with 2 arguments
 | 
				
			||||||
 | 
					 = Fixed /party not showing properly the member list
 | 
				
			||||||
 = Fixed /ability not checking the right permission
 | 
					 = Fixed /ability not checking the right permission
 | 
				
			||||||
 = Fixed rare NPE on /party command
 | 
					 = Fixed rare NPE on /party command
 | 
				
			||||||
 = Fixed Arrow Retrieval dropping only one arrow
 | 
					 = Fixed Arrow Retrieval dropping only one arrow
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -57,11 +57,13 @@ public class PartyCommand implements CommandExecutor {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
                for (Player p : partyInstance.getAllMembers(player)) {
 | 
					                for (Player p : partyInstance.getAllMembers(player)) {
 | 
				
			||||||
                    if (p.equals(partyInstance.getPartyLeader(partyName))) {
 | 
					                    if (p.equals(partyInstance.getPartyLeader(partyName))) {
 | 
				
			||||||
                        tempList = ChatColor.GOLD + p.getName();
 | 
					                        tempList += ChatColor.GOLD;
 | 
				
			||||||
                    }
 | 
					                    }
 | 
				
			||||||
                    else {
 | 
					                    else {
 | 
				
			||||||
                        tempList = ChatColor.WHITE + p.getName();
 | 
					                        tempList += ChatColor.WHITE;
 | 
				
			||||||
                    }
 | 
					                    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					                    tempList += p.getName() + " ";
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                player.sendMessage(LocaleLoader.getString("Commands.Party.InParty", new Object[] { partyName }));
 | 
					                player.sendMessage(LocaleLoader.getString("Commands.Party.InParty", new Object[] { partyName }));
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user