Skip to content

Commit

Permalink
Update to 1.0.1, changes name and a couple of other parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
WatermelonMojito authored and WatermelonMojito committed Jan 16, 2024
1 parent e7f550c commit a375345
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ loader_version=0.14.19-babric.3-bta
halplibe_version=3.1.4

# Mod
mod_version=1.0.0-7.1
mod_version=1.0.1-7.1pre1a
mod_group=WatermelonMojito
mod_name=bta_utils_melonbta
mod_name=bta_dc_integr
2 changes: 1 addition & 1 deletion src/main/java/de/olivermakesco/bta_utils/BtaUtilsMod.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import org.slf4j.LoggerFactory;

public class BtaUtilsMod implements ModInitializer {
public static final Logger LOGGER = LoggerFactory.getLogger("BTA Utils");
public static final Logger LOGGER = LoggerFactory.getLogger("BTA Discord Integration");

@Override
public void onInitialize() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public static void sendToDiscord(String author, String message) {
if (webhookClient == null) return;
WebhookMessageBuilder builder = new WebhookMessageBuilder();
builder.setUsername(author);
builder.setAvatarUrl("https://www.mc-heads.net/head/" + author);
builder.setAvatarUrl("https://www.mc-heads.net/head/" + author + "/" + "150");
builder.setContent(message);
webhookClient.send(builder.build());
}
Expand Down

0 comments on commit a375345

Please sign in to comment.