From a8eb8ea0dccbd111a9947f7bb6291788269bda51 Mon Sep 17 00:00:00 2001 From: Onako2 <79749977+Onako2@users.noreply.github.com> Date: Wed, 16 Oct 2024 20:33:23 +0200 Subject: [PATCH] Bump to version 2.3.1, fix for MacOS --- gradle.properties | 2 +- src/client/java/rs/onako2/iwie/ClientInit.java | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/gradle.properties b/gradle.properties index 5ac9393..f4a3b27 100644 --- a/gradle.properties +++ b/gradle.properties @@ -7,7 +7,7 @@ minecraft_version=1.21.1 yarn_mappings=1.21.1+build.3 loader_version=0.16.7 # Mod Properties -mod_version=2.3.0 +mod_version=2.3.1 maven_group=rs.onako2 archives_base_name=i-want-it-earlier # Dependencies diff --git a/src/client/java/rs/onako2/iwie/ClientInit.java b/src/client/java/rs/onako2/iwie/ClientInit.java index e19b875..e8e11c3 100644 --- a/src/client/java/rs/onako2/iwie/ClientInit.java +++ b/src/client/java/rs/onako2/iwie/ClientInit.java @@ -9,6 +9,7 @@ import net.minecraft.client.render.RenderLayer; import net.minecraft.client.render.entity.model.EntityModelLayer; import net.minecraft.util.Identifier; +import org.apache.commons.lang3.SystemUtils; import rs.onako2.iwie.entity.CreakingEntityRenderer; import rs.onako2.iwie.entity.CreakingModel; @@ -43,7 +44,9 @@ public void onInitializeClient() { BlockColors blockColors = client.getBlockColors(); blockColors.registerColorProvider(new PaleLeavesColorProvider(), Init.PALE_OAK_LEAVES); - client.getWindow().setTitle("https://modrinth.com/mod/i-want-it-earlier"); + if (SystemUtils.IS_OS_WINDOWS) { + client.getWindow().setTitle("https://modrinth.com/mod/i-want-it-earlier"); + } }); EntityRendererRegistry.register(Init.CREAKING, CreakingEntityRenderer::new);