mirror of
https://github.com/PlaceholderAPI/PlaceholderAPI
synced 2026-02-26 05:51:12 +01:00
add papi version to user agent
This commit is contained in:
@@ -62,7 +62,7 @@ public final class CloudExpansionManager {
|
||||
@NotNull
|
||||
private static final String API_URL = "https://ecloud.placeholderapi.com/api/v3/?platform=bukkit";
|
||||
@NotNull
|
||||
public static final String USER_AGENT = "PlaceholderAPI-Bukkit";
|
||||
public static final String USER_AGENT = "PlaceholderAPI-Bukkit-" + PlaceholderAPIPlugin.getInstance().getPluginMeta().getVersion();
|
||||
|
||||
@NotNull
|
||||
private static final Gson GSON = new Gson();
|
||||
|
||||
Reference in New Issue
Block a user