Skip to content

Commit

Permalink
Update MI
Browse files Browse the repository at this point in the history
  • Loading branch information
Swedz committed Aug 12, 2024
1 parent 1a5ab6d commit e2c2a52
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ mod_github=https://github.com/Swedz/tesseract-neoforge
# Dependencies
mixinextras_version=0.3.5
emi_version=1.1.10
modern_industrialization_version=2.2.12-beta
modern_industrialization_version_range=[2.2.12-beta, 2.3-)
modern_industrialization_version=2.2.17-beta
modern_industrialization_version_range=[2.2.17-beta, 2.3-)
grandpower_version=3.0.0
cloth_config_version=15.0.127
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public abstract class RegisterMultiblockShapeReiRecipeHackMixin
method = "<init>",
at = @At("RETURN")
)
private void init(String controller, ShapeTemplate shapeTemplate,
private void init(String controller, ShapeTemplate shapeTemplate, String alternative,
CallbackInfo callback)
{
for(String modId : MIHooks.getModIds())
Expand All @@ -41,8 +41,8 @@ private void init(String controller, ShapeTemplate shapeTemplate,
if(!controllerItem.isEmpty())
{
this.setController(controllerItem);
this.getMaterials().remove(0);
this.getMaterials().add(0, controllerItem);
this.getMaterials().removeFirst();
this.getMaterials().addFirst(controllerItem);
break;
}
}
Expand Down

0 comments on commit e2c2a52

Please sign in to comment.