mirror of
https://github.com/GTNewHorizons/ModTweaker.git
synced 2026-11-18 03:35:03 +00:00
Made some changes, should help mod authors direct bugs to me
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user