Skip to content

Commit

Permalink
Fix merge and change starlight version
Browse files Browse the repository at this point in the history
  • Loading branch information
Bennyboy1695 committed Aug 3, 2024
1 parent f891f9f commit 1edae86
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
package com.copycatsplus.copycats.utility;

import net.minecraft.Util;
import net.minecraft.client.Minecraft;
import net.minecraft.network.chat.Component;
import net.minecraft.network.chat.TextComponent;

/**
* This class should only be accessed on the client side.
Expand All @@ -12,7 +14,7 @@ public static boolean sendSystemMessage(String message) {
if (Minecraft.getInstance().player == null) {
return false;
}
Minecraft.getInstance().player.sendSystemMessage(Component.literal(message));
Minecraft.getInstance().player.sendMessage(new TextComponent(message), Util.NIL_UUID);
return true;
}
}
5 changes: 3 additions & 2 deletions forge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,9 @@ dependencies {

modLocalRuntime("curse.maven:rubidium-574856:${rubidium_forge_curse_id}")
modImplementation("curse.maven:additional-placements-674852:${additionalplacements_forge_curse_id}")
modLocalRuntime("curse.maven:create-industry-693815:${tfmg_forge_curse_id}")
modLocalRuntime("curse.maven:starlight-forge-526854:3836016")
//Doesnt exist in 1.18
/*modLocalRuntime("curse.maven:create-industry-693815:${tfmg_forge_curse_id}")*/
modLocalRuntime("curse.maven:starlight-forge-526854:3706539")
// modLocalRuntime("curse.maven:create-extended-cogs-739973:${extended_cogwheels_forge_curse_id}")

modCompileOnly("curse.maven:double-slabs-350179:${double_slabs_curse_id}")
Expand Down

0 comments on commit 1edae86

Please sign in to comment.