tried to fix github ci

This commit is contained in:
Robin 2024-12-09 13:12:16 +01:00
parent 9137810d2f
commit 947e691753
2 changed files with 1 additions and 2 deletions

View File

@ -44,7 +44,7 @@ jobs:
run: ./gradlew publish -ProbaertschiPassword=${{ secrets.REPOSILITE_SECRET }} -ProbaertschiUsername=${{ secrets.REPOSILITE_NAME }}
- name: Upload Artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: Artifacts
path: build/libs

View File

@ -54,7 +54,6 @@ public class JeiCompatPlugin implements IModPlugin {
@Override
public void registerRecipes(IRecipeRegistration registration) {
assert Minecraft.getInstance().level != null;
registration.addRecipes(EnvCollectorRecipeCategory.ENV_COLLECTOR, Minecraft.getInstance().level.getRecipeManager().getAllRecipesFor(ETRecipes.ENV_COLLECTOR_RECIPE_TYPE.get()).stream().toList());
}