Skip to content

Commit

Permalink
Implement #5397 add a way to get CrT gas from string (#5400)
Browse files Browse the repository at this point in the history
* Implement #5397 add a way to get CrT gas from string. Closes #5397
  • Loading branch information
pupnewfster authored and thiakil committed Apr 15, 2019
1 parent 4304090 commit bc8c4f6
Showing 1 changed file with 17 additions and 0 deletions.
@@ -0,0 +1,17 @@
package mekanism.common.integration.crafttweaker.handlers;

import crafttweaker.annotations.ZenRegister;
import mekanism.common.integration.crafttweaker.gas.GasBracketHandler;
import mekanism.common.integration.crafttweaker.gas.IGasStack;
import stanhebben.zenscript.annotations.ZenClass;
import stanhebben.zenscript.annotations.ZenMethod;

@ZenClass("mods.mekanism.MekanismHelper")
@ZenRegister
public class MekanismHelper {

@ZenMethod
public static IGasStack getGas(String name) {
return GasBracketHandler.getGas(name);
}
}

0 comments on commit bc8c4f6

Please sign in to comment.