mirror of
https://github.com/GTNewHorizons/ModTweaker.git
synced 2026-11-20 04:19:44 +00:00
Update Buildscript (#3)
* Delete .gitmodules * Update buildscript * Finish conversion to unified buildscript * Update build.gradle
This commit is contained in:
1 parent
645a8c78a8
commit
8989fdbb15
75 files changed
+1148
-837
No files matched your search
@@ -4,6 +4,6 @@ public class ModProps {
|
||||
|
||||
public static final String NAME = "Mod Tweaker 2", name = NAME;
|
||||
public static final String MODID = "modtweaker2", modid = MODID;
|
||||
public static final String VERSION = "@modVersion@", version = VERSION;
|
||||
public static final String VERSION = "GRADLETOKEN_VERSION", version = VERSION;
|
||||
public static final String DEPENDENCIES = "required-after:MineTweaker3;after:Forestry@[4.1.0,);", dependencies = DEPENDENCIES;
|
||||
}
|
||||
@@ -5,6 +5,7 @@ import static modtweaker2.helpers.InputHelper.toStack;
|
||||
import static modtweaker2.helpers.InputHelper.toStacks;
|
||||
import static modtweaker2.helpers.StackHelper.matches;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.LinkedList;
|
||||
|
||||
import minetweaker.MineTweakerAPI;
|
||||
@@ -83,7 +84,7 @@ public class Inscriber {
|
||||
|
||||
public static class Add extends BaseListAddition<IInscriberRecipe> {
|
||||
public Add(IInscriberRecipe recipe) {
|
||||
super(Inscriber.name, AEApi.instance().registries().inscriber().getRecipes());
|
||||
super(Inscriber.name, new ArrayList<>(AEApi.instance().registries().inscriber().getRecipes()));
|
||||
recipes.add(recipe);
|
||||
}
|
||||
|
||||
@@ -158,7 +159,7 @@ public class Inscriber {
|
||||
|
||||
public static class Remove extends BaseListRemoval<IInscriberRecipe> {
|
||||
public Remove(LinkedList<IInscriberRecipe> recipes) {
|
||||
super(Inscriber.name, AEApi.instance().registries().inscriber().getRecipes(), recipes);
|
||||
super(Inscriber.name, new ArrayList<>(AEApi.instance().registries().inscriber().getRecipes()), recipes);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user