fix skill issue

This commit is contained in:
Chayapak 2023-07-23 08:11:49 +07:00
parent a5b8ff6eb9
commit 2cb5269d78

View file

@ -124,7 +124,7 @@ false
} }
} }
if (discord) context.sendOutput(discordComponent); if (discord && !list.isEmpty()) context.sendOutput(discordComponent);
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
context.sendOutput(Component.text(e.toString()).color(NamedTextColor.RED)); context.sendOutput(Component.text(e.toString()).color(NamedTextColor.RED));