Skip to content

Commit

Permalink
Allow autoplace channels to work in survival mode (#20)
Browse files Browse the repository at this point in the history
* allow autoplace channels to work in survival mode

* bump NEI dependency version
  • Loading branch information
kstvr32 authored May 4, 2023
1 parent fa5e2ae commit 2331219
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dependencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

dependencies {
api("com.github.GTNewHorizons:GTNHLib:0.0.10:dev")
runtimeOnly("com.github.GTNewHorizons:NotEnoughItems:2.3.25-GTNH:dev")
runtimeOnly("com.github.GTNewHorizons:NotEnoughItems:2.3.46-GTNH:dev")

testImplementation(platform('org.junit:junit-bom:5.9.2'))
testImplementation('org.junit.jupiter:junit-jupiter')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2591,7 +2591,7 @@ public PlaceResult survivalPlaceBlock(T t, World world, int x, int y, int z, Ite
// we will bypass the chatter filter here, as this is a warning that player definitively want to see
// instead of some false positive error messages like item not find
warnNoExplicitSubChannel(env.getActor());
return backing.survivalPlaceBlock(t, world, x, y, z, trigger, env);
return backing.survivalPlaceBlock(t, world, x, y, z, newTrigger, env);
}
};
}
Expand Down

0 comments on commit 2331219

Please sign in to comment.