From 7b15a83f1f3651dcb1c9c86a126a97cea4876b19 Mon Sep 17 00:00:00 2001 From: Snabeldier <79211348+Snabeldier@users.noreply.github.com> Date: Mon, 6 Jan 2025 18:11:45 +0100 Subject: [PATCH] replace setFooter(String) with default method --- .../java/minevalley/core/api/discord/EmbeddedMessage.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/minevalley/core/api/discord/EmbeddedMessage.java b/src/main/java/minevalley/core/api/discord/EmbeddedMessage.java index 71aea1a1..c6790d69 100644 --- a/src/main/java/minevalley/core/api/discord/EmbeddedMessage.java +++ b/src/main/java/minevalley/core/api/discord/EmbeddedMessage.java @@ -20,5 +20,7 @@ public interface EmbeddedMessage { EmbeddedMessage setFooter(String footer, String iconUrl); - EmbeddedMessage setFooter(String footer); + default EmbeddedMessage setFooter(String footer) { + return setFooter(footer, null); + } } \ No newline at end of file