Minor optimization: remove unnecessary empty array initialization

Co-authored-by: funkemunky <30784509+funkemunky@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-02-20 14:13:25 +00:00
parent faa8bdbb19
commit 51340754e6
@@ -152,7 +152,7 @@ public class WebhookNotifier {
embed.put("description", "A player attempted to join using a VPN/proxy or from a blocked country.");
// Add fields with player and detection information
JSONObject[] fields = new JSONObject[0];
JSONObject[] fields;
if (result.response() != null) {
fields = new JSONObject[] {
createDiscordField("Player", player.getName(), true),