Skip to content

Commit

Permalink
bugfixie
Browse files Browse the repository at this point in the history
  • Loading branch information
rhysdh540 committed Aug 26, 2023
1 parent 7e1f7bf commit 25fbfc7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public static void registerConfigCommand() {
LiteralArgumentBuilder<CommandSourceStack> base = literal(CreateUnlimited.ID).executes(context -> {
message(CreateUnlimited.NAME + " v" + CreateUnlimited.VERSION + " by rdh\nVisit us on:", context);

auto link = (MutableComponent) CommonComponents.EMPTY;
auto link = MutableComponent.create(CommonComponents.EMPTY.getContents());
links.forEach(a -> link.append(a).append(Component.literal(" ")));

message(link, context);
Expand Down
4 changes: 3 additions & 1 deletion fabric/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ dependencies {

modImplementation("com.simibubi.create:create-fabric-${rootProject.minecraft_version}:${rootProject.create_fabric}+mc${rootProject.minecraft_version}")

modImplementation("com.railwayteam.railways:Steam_Rails-fabric-${minecraft_version}:${snr}+fabric-mc${minecraft_version}-build.${snr_build}") { transitive = false }
if(rootProject.hasProperty("snr")) {
modImplementation("com.railwayteam.railways:Steam_Rails-fabric-${minecraft_version}:${snr}+fabric-mc${minecraft_version}-build.${snr_build}") { transitive = false }
}
}

shadowJar {
Expand Down
4 changes: 3 additions & 1 deletion forge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ dependencies {
modImplementation "com.tterrag.registrate:Registrate:${registrate}"
modImplementation "com.jozufozu.flywheel:flywheel-forge-${flywheel_mc}:${flywheel}"

modImplementation("com.railwayteam.railways:Steam_Rails-forge-${minecraft_version}:${snr}+forge-mc${minecraft_version}-build.${snr_build}")
if(rootProject.hasProperty("snr")) {
modImplementation("com.railwayteam.railways:Steam_Rails-forge-${minecraft_version}:${snr}+forge-mc${minecraft_version}-build.${snr_build}")
}
}

shadowJar {
Expand Down

0 comments on commit 25fbfc7

Please sign in to comment.