Made some changes, should help mod authors direct bugs to me

This commit is contained in:
jaredlll08 committed 2015-06-19 13:14:23 +02:00
1 parent daddadf7e7
commit c500a5a580
12 files changed
+35 -11

No files matched your search

@@ -1,11 +1,11 @@
package modtweaker2.utils;
import java.util.Map;
import minetweaker.IUndoableAction;
import net.minecraft.item.ItemStack;
import net.minecraftforge.fluids.FluidStack;
import java.util.Map;
public abstract class BaseMapRemoval implements IUndoableAction {
protected final Map map;
protected Object stack;
@@ -26,6 +26,9 @@ 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