mirror of
https://github.com/GTNewHorizons/ModTweaker.git
synced 2026-11-12 16:27:27 +00:00
Update Sawmill.java
This commit is contained in:
1 parent
655d7779b0
commit
c98252609a
1 file changed
+2
-1
@@ -18,6 +18,7 @@ import modtweaker2.utils.BaseListAddition;
|
||||
import modtweaker2.utils.BaseListRemoval;
|
||||
import stanhebben.zenscript.annotations.ZenClass;
|
||||
import stanhebben.zenscript.annotations.ZenMethod;
|
||||
import stanhebben.zenscript.annotations.Optional;
|
||||
import cofh.thermalexpansion.util.crafting.SawmillManager;
|
||||
import cofh.thermalexpansion.util.crafting.SawmillManager.RecipeSawmill;
|
||||
|
||||
@@ -34,7 +35,7 @@ public class Sawmill {
|
||||
}
|
||||
|
||||
@ZenMethod
|
||||
public static void addRecipe(int energy, IItemStack input, IItemStack output, IItemStack secondary, int secondaryChance) {
|
||||
public static void addRecipe(int energy, IItemStack input, IItemStack output, @Optional IItemStack secondary, @Optional int secondaryChance) {
|
||||
if(input == null || output == null) {
|
||||
LogHelper.logError(String.format("Required parameters missing for %s Recipe.", name));
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user