mirror of
				https://github.com/Aust1n46/VentureChat.git
				synced 2025-10-30 21:52:23 +00:00 
			
		
		
		
	Re-add deprecated constructor
This commit is contained in:
		
							parent
							
								
									4dc61a8b74
								
							
						
					
					
						commit
						1e29fe0300
					
				| @ -178,6 +178,44 @@ public class ChatChannel { | |||||||
| 		this.format = format; | 		this.format = format; | ||||||
| 	} | 	} | ||||||
| 
 | 
 | ||||||
|  | 	/** | ||||||
|  | 	 * Deprecated parameterized constructor a {@link ChatChannel}. | ||||||
|  | 	 *  | ||||||
|  | 	 * @param name | ||||||
|  | 	 * @param color | ||||||
|  | 	 * @param chatColor | ||||||
|  | 	 * @param permission | ||||||
|  | 	 * @param speakPermission | ||||||
|  | 	 * @param mutable | ||||||
|  | 	 * @param filter | ||||||
|  | 	 * @param defaultChannel | ||||||
|  | 	 * @param alias | ||||||
|  | 	 * @param distance | ||||||
|  | 	 * @param autojoin | ||||||
|  | 	 * @param bungee | ||||||
|  | 	 * @param cooldown | ||||||
|  | 	 * @param format | ||||||
|  | 	 */ | ||||||
|  | 	@Deprecated | ||||||
|  | 	public ChatChannel(String name, String color, String chatColor, String permission, String speakPermission, | ||||||
|  | 			Boolean mutable, Boolean filter, Boolean defaultChannel, String alias, Double distance, Boolean autojoin, | ||||||
|  | 			Boolean bungee, int cooldown, String format) { | ||||||
|  | 		this.name = name; | ||||||
|  | 		this.color = color; | ||||||
|  | 		this.chatColor = chatColor; | ||||||
|  | 		this.permission = PERMISSION_PREFIX + permission; | ||||||
|  | 		this.speakPermission = PERMISSION_PREFIX + speakPermission; | ||||||
|  | 		this.mutable = mutable; | ||||||
|  | 		this.filter = filter; | ||||||
|  | 		this.defaultChannel = defaultChannel; | ||||||
|  | 		this.alias = alias; | ||||||
|  | 		this.distance = distance; | ||||||
|  | 		this.autojoin = autojoin; | ||||||
|  | 		this.bungee = bungee; | ||||||
|  | 		this.cooldown = cooldown; | ||||||
|  | 		this.format = format; | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
| 	/** | 	/** | ||||||
| 	 * Get the name of the chat channel. | 	 * Get the name of the chat channel. | ||||||
| 	 *  | 	 *  | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Aust1n46
						Aust1n46