diff --git a/tc-discord-webhooks-server/src/main/java/com/github/playerforcehd/tcdiscordwebhooks/notificator/DiscordNotificator.java b/tc-discord-webhooks-server/src/main/java/com/github/playerforcehd/tcdiscordwebhooks/notificator/DiscordNotificator.java index f2f08a6..2c1effb 100644 --- a/tc-discord-webhooks-server/src/main/java/com/github/playerforcehd/tcdiscordwebhooks/notificator/DiscordNotificator.java +++ b/tc-discord-webhooks-server/src/main/java/com/github/playerforcehd/tcdiscordwebhooks/notificator/DiscordNotificator.java @@ -187,7 +187,7 @@ private DiscordEmbedField[] buildFieldsForRunningBuild(SRunningBuild sRunningBui // Branch Branch branch = sRunningBuild.getBranch(); String branchName = "Default"; - if (branch != null && branch.getName().equals(Branch.DEFAULT_BRANCH_NAME)) { + if (branch != null && !branch.getName().equals(Branch.DEFAULT_BRANCH_NAME)) { branchName = branch.getDisplayName(); } discordEmbedFields.add(new DiscordEmbedField("Branch", branchName, true));