mirror of
				https://github.com/mcMMO-Dev/mcMMO.git
				synced 2025-11-04 02:53:43 +01:00 
			
		
		
		
	Fixed playerParty never being initialized.
This commit is contained in:
		@@ -100,6 +100,7 @@ public class PartyJoinCommand implements CommandExecutor {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        player = (Player) sender;
 | 
					        player = (Player) sender;
 | 
				
			||||||
        mcMMOPlayer = Users.getPlayer(player);
 | 
					        mcMMOPlayer = Users.getPlayer(player);
 | 
				
			||||||
 | 
					        playerParty = mcMMOPlayer.getParty();
 | 
				
			||||||
        targetParty = mcMMOTarget.getParty();
 | 
					        targetParty = mcMMOTarget.getParty();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if (player.equals(target) || (mcMMOPlayer.inParty() && playerParty.equals(targetParty))) {
 | 
					        if (player.equals(target) || (mcMMOPlayer.inParty() && playerParty.equals(targetParty))) {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user