mirror of
https://github.com/GTNewHorizons/ModTweaker.git
synced 2026-11-20 04:19:44 +00:00
Removed the notice thing, wasn' working anyway
This commit is contained in:
1 parent
c500a5a580
commit
cc0f2fdc7a
9 files changed
+1
-48
No files matched your search
@@ -19,7 +19,6 @@ public abstract class BaseCraftingAddition extends BaseDescriptionAddition {
|
||||
this.output = output;
|
||||
this.recipe = recipe;
|
||||
this.list = list;
|
||||
TweakerPlugin.changed.add(output);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -10,7 +10,6 @@ import static modtweaker2.helpers.StackHelper.areEqual;
|
||||
public class BaseCraftingRemoval extends BaseListRemoval {
|
||||
public BaseCraftingRemoval(String name, List list, ItemStack stack) {
|
||||
super(name, list, stack);
|
||||
TweakerPlugin.changed.add(stack);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -19,7 +19,6 @@ public abstract class BaseListAddition implements IUndoableAction {
|
||||
public BaseListAddition(List list, Object recipe) {
|
||||
this.list = list;
|
||||
this.recipe = recipe;
|
||||
TweakerPlugin.changed.add(((ItemStack) recipe));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -22,7 +22,6 @@ public abstract class BaseListRemoval implements IUndoableAction {
|
||||
this.stack = stack;
|
||||
this.description = description;
|
||||
this.fluid = fluid;
|
||||
TweakerPlugin.changed.add(stack);
|
||||
}
|
||||
|
||||
public BaseListRemoval(String description, List list, ItemStack stack) {
|
||||
|
||||
@@ -21,8 +21,6 @@ public abstract class BaseMapAddition implements IUndoableAction {
|
||||
this.key = key;
|
||||
this.recipe = recipe;
|
||||
this.description = description;
|
||||
if (recipe instanceof ItemStack)
|
||||
TweakerPlugin.changed.add(((ItemStack) recipe));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -26,9 +26,6 @@ public abstract class BaseMapRemoval implements IUndoableAction {
|
||||
this.map = map;
|
||||
this.key = key;
|
||||
this.description = description;
|
||||
if(map.get(key) instanceof ItemStack){
|
||||
TweakerPlugin.changed.add(((ItemStack) map.get(key)));
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -8,7 +8,6 @@ import cpw.mods.fml.common.Loader;
|
||||
|
||||
public class TweakerPlugin {
|
||||
private static ArrayList<String> isLoaded = new ArrayList();
|
||||
public static List<ItemStack> changed = new ArrayList<ItemStack>();
|
||||
|
||||
public static void register(String mod, Class clazz) {
|
||||
if (Loader.isModLoaded(mod)) {
|
||||
|
||||
Reference in new issue
Block a user