Fix Atomic Disassembler vein issue
This commit is contained in:
parent
9eef8c43b6
commit
f59e12d9cf
1 changed files with 2 additions and 1 deletions
|
@ -262,7 +262,8 @@ public class ItemAtomicDisassembler extends ItemEnergized
|
||||||
|
|
||||||
public boolean checkID(int id)
|
public boolean checkID(int id)
|
||||||
{
|
{
|
||||||
return ignoreID.get(location.getBlockId(world)) != null && ignoreID.get(location.getBlockId(world)).contains(id);
|
int origId = location.getBlockId(world);
|
||||||
|
return (ignoreID.get(origId) == null && id == origId) || (ignoreID.get(origId) != null && ignoreID.get(origId).contains(id));
|
||||||
}
|
}
|
||||||
|
|
||||||
static {
|
static {
|
||||||
|
|
Loading…
Reference in a new issue