mirror of
				https://github.com/PlaceholderAPI/PlaceholderAPI
				synced 2025-10-31 06:12:28 +01:00 
			
		
		
		
	Make the message differentiate between singular and plural updates avail
This commit is contained in:
		| @@ -54,7 +54,7 @@ public final class CommandECloudStatus extends PlaceholderCommand | |||||||
|  |  | ||||||
| 		if (updateCount > 0) | 		if (updateCount > 0) | ||||||
| 		{ | 		{ | ||||||
| 			builder.append("&eYou have &a").append(updateCount).append("&e expansions installed that have updates available."); | 			builder.append("&eYou have &f").append(updateCount).append(updateCount > 1 ? "&e expansions" : "&e expansion").append("installed that ").append(updateCount > 1 ? "have an" : "has an").append(" update available."); | ||||||
| 		} | 		} | ||||||
|  |  | ||||||
| 		Msg.msg(sender,builder.toString()); | 		Msg.msg(sender,builder.toString()); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user