diff --git a/src/main/java/com/cleanroommc/groovyscript/compat/mods/mekanism/Mekanism.java b/src/main/java/com/cleanroommc/groovyscript/compat/mods/mekanism/Mekanism.java index 0fcf32742..d80202003 100644 --- a/src/main/java/com/cleanroommc/groovyscript/compat/mods/mekanism/Mekanism.java +++ b/src/main/java/com/cleanroommc/groovyscript/compat/mods/mekanism/Mekanism.java @@ -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")