mirror of
				https://github.com/Aust1n46/VentureChat.git
				synced 2025-10-30 21:52:23 +00:00 
			
		
		
		
	Fix console chat not parsing placeholders.
This commit is contained in:
		
							parent
							
								
									97afddd959
								
							
						
					
					
						commit
						1cdbe07adb
					
				| @ -487,8 +487,8 @@ public class ChatListener implements Listener { | |||||||
| 		} | 		} | ||||||
| 		 | 		 | ||||||
| 		String globalJSON = Format.convertToJson(mcp, format, chat);  | 		String globalJSON = Format.convertToJson(mcp, format, chat);  | ||||||
| 		String consoleChat = format + chat; | 		format = PlaceholderAPI.setBracketPlaceholders(mcp.getPlayer(), Format.FormatStringAll(format)); | ||||||
| 		String message = consoleChat.replaceAll("(\ufffd([a-z0-9]))", ""); // UTF-8 encoding issues. | 		String message = (format + chat).replaceAll("(\ufffd([a-z0-9]))", ""); // UTF-8 encoding issues. | ||||||
| 		int hash = message.hashCode(); | 		int hash = message.hashCode(); | ||||||
| 		 | 		 | ||||||
| 		//Create VentureChatEvent | 		//Create VentureChatEvent | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Aust1n46
						Aust1n46