From 35838aa229b479903889697313e2d46d1046abba Mon Sep 17 00:00:00 2001 From: Andre_601 <11576465+Andre601@users.noreply.github.com> Date: Sun, 13 Sep 2020 00:30:27 +0200 Subject: [PATCH] Fix wrong expansion get in /papi info --- .../me/clip/placeholderapi/commands/impl/local/CommandInfo.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/me/clip/placeholderapi/commands/impl/local/CommandInfo.java b/src/main/java/me/clip/placeholderapi/commands/impl/local/CommandInfo.java index 11ec7bd..ca0903a 100644 --- a/src/main/java/me/clip/placeholderapi/commands/impl/local/CommandInfo.java +++ b/src/main/java/me/clip/placeholderapi/commands/impl/local/CommandInfo.java @@ -47,7 +47,7 @@ public final class CommandInfo extends PlaceholderCommand { } final PlaceholderExpansion expansion = plugin.getLocalExpansionManager() - .findExpansionByName(params.get(0)).orElse(null); + .findExpansionByIdentifier(params.get(0)).orElse(null); if (expansion == null) { Msg.msg(sender, "&cThere is no expansion loaded with the identifier: &f" + params.get(0));