Skip to content

Commit

Permalink
fix infusion type info handler being incorrect (#244)
Browse files Browse the repository at this point in the history
  • Loading branch information
WaitingIdly authored Oct 2, 2024
1 parent 42f0fbf commit a536e88
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public static String asGroovyCode(GasStack gasStack, boolean colored) {

@Optional.Method(modid = "mekanism")
public static String asGroovyCode(InfuseType infuseType, boolean colored) {
return GroovyScriptCodeConverter.formatGenericHandler("infusionType", infuseType.unlocalizedName, colored);
return GroovyScriptCodeConverter.formatGenericHandler("infusionType", infuseType.name, colored);
}

@Optional.Method(modid = "mekanism")
Expand Down

0 comments on commit a536e88

Please sign in to comment.