We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1a1ba9d commit 4f0a936Copy full SHA for 4f0a936
src/main/java/de/gnmyt/mcdash/panel/routes/plugin/PluginRoute.java
@@ -15,9 +15,9 @@ public class PluginRoute extends DefaultHandler {
15
* @return the plugin or <code>null</code> if the plugin does not exist
16
*/
17
private Plugin getPlugin(Request request, ResponseController response) {
18
- if (!isStringInQuery(request, response, "name")) return null;
+ if (!isStringInBody(request, response, "name")) return null;
19
20
- String pluginName = getStringFromQuery(request, "name");
+ String pluginName = getStringFromBody(request, "name");
21
22
Plugin plugin = Bukkit.getPluginManager().getPlugin(pluginName);
23
0 commit comments