mirror of
				https://github.com/PlaceholderAPI/PlaceholderAPI
				synced 2025-10-31 06:12:28 +01:00 
			
		
		
		
	Merge pull request #473 from PlaceholderAPI/fix/469
Fix wrong expansion get in /papi info
This commit is contained in:
		| @@ -47,7 +47,7 @@ public final class CommandInfo extends PlaceholderCommand { | |||||||
|     } |     } | ||||||
|  |  | ||||||
|     final PlaceholderExpansion expansion = plugin.getLocalExpansionManager() |     final PlaceholderExpansion expansion = plugin.getLocalExpansionManager() | ||||||
|         .findExpansionByName(params.get(0)).orElse(null); |         .findExpansionByIdentifier(params.get(0)).orElse(null); | ||||||
|     if (expansion == null) { |     if (expansion == null) { | ||||||
|       Msg.msg(sender, |       Msg.msg(sender, | ||||||
|           "&cThere is no expansion loaded with the identifier: &f" + params.get(0)); |           "&cThere is no expansion loaded with the identifier: &f" + params.get(0)); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user