mirror of
				https://github.com/mcMMO-Dev/mcMMO.git
				synced 2025-11-04 11:03:43 +01:00 
			
		
		
		
	Fix dots not being replaced when renaming party (#4882)
This commit is contained in:
		@@ -25,7 +25,7 @@ public class PartyRenameCommand implements CommandExecutor {
 | 
				
			|||||||
            Party playerParty = mcMMOPlayer.getParty();
 | 
					            Party playerParty = mcMMOPlayer.getParty();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            String oldPartyName = playerParty.getName();
 | 
					            String oldPartyName = playerParty.getName();
 | 
				
			||||||
            String newPartyName = args[1];
 | 
					            String newPartyName = args[1].replace(".", "");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            // This is to prevent party leaders from spamming other players with the rename message
 | 
					            // This is to prevent party leaders from spamming other players with the rename message
 | 
				
			||||||
            if (oldPartyName.equalsIgnoreCase(newPartyName)) {
 | 
					            if (oldPartyName.equalsIgnoreCase(newPartyName)) {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user