Skip to content

Commit

Permalink
fix: greenhouse issue for the long term
Browse files Browse the repository at this point in the history
  • Loading branch information
bruberu committed Apr 18, 2024
1 parent 8cf807b commit f1fadfc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions dependencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ dependencies {

implementation rfg.deobf("curse.maven:mixin-booter-419286:4828995")
compileOnly "CraftTweaker2:CraftTweaker2-MC1120-Main:1.12-4.1.20.554"
implementation rfg.deobf("curse.maven:gregtech-ce-unofficial-557242:5050979")
implementation rfg.deobf("curse.maven:gregtech-ce-unofficial-557242:5121638")
implementation rfg.deobf("curse.maven:groovyscript-687577:4991701")

implementation "team.chisel.ctm:CTM:MC${project.minecraft.version}-1.0.2.31"
Expand Down Expand Up @@ -64,7 +64,6 @@ dependencies {

implementation rfg.deobf("curse.maven:nutrition-gtceu-964594:5047422")
implementation rfg.deobf("curse.maven:nutrition-unofficial-extended-life-964516:5049991")

testImplementation 'junit:junit:4.13.2'
implementation 'org.projectlombok:lombok:1.18.24'
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
import gregtech.api.pattern.BlockPattern;
import gregtech.api.pattern.FactoryBlockPattern;
import gregtech.api.recipes.Recipe;
import gregtech.api.recipes.RecipeMap;
import gregtech.client.renderer.ICubeRenderer;
import gregtech.client.renderer.texture.Textures;
import gregtech.common.ConfigHolder;
Expand Down Expand Up @@ -97,7 +98,7 @@ public static void addGrasses() {
}

public MetaTileEntityGreenhouse(ResourceLocation metaTileEntityId) {
super(metaTileEntityId, GTFORecipeMaps.GREENHOUSE_RECIPES);
super(metaTileEntityId, RecipeMap.getByName("greenhouse")); // Use Nomi Labs recipes if the mod is installed
this.recipeMapWorkable = new GreenhouseWorkable(this);
}

Expand Down

0 comments on commit f1fadfc

Please sign in to comment.