From 2cb5269d78522cc0096cbbd6c0b90581b9291d93 Mon Sep 17 00:00:00 2001 From: ChomeNS <95471003+ChomeNS@users.noreply.github.com> Date: Sun, 23 Jul 2023 08:11:49 +0700 Subject: [PATCH] fix skill issue --- .../chipmunk/chayapak/chomens_bot/commands/UrbanCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/land/chipmunk/chayapak/chomens_bot/commands/UrbanCommand.java b/src/main/java/land/chipmunk/chayapak/chomens_bot/commands/UrbanCommand.java index 10f7022..754e470 100644 --- a/src/main/java/land/chipmunk/chayapak/chomens_bot/commands/UrbanCommand.java +++ b/src/main/java/land/chipmunk/chayapak/chomens_bot/commands/UrbanCommand.java @@ -124,7 +124,7 @@ false } } - if (discord) context.sendOutput(discordComponent); + if (discord && !list.isEmpty()) context.sendOutput(discordComponent); } catch (Exception e) { e.printStackTrace(); context.sendOutput(Component.text(e.toString()).color(NamedTextColor.RED));