Add scrap box to matter fab, fixes https://github.com/TechReborn/TechReborn/issues/1682
This commit is contained in:
parent
932848e933
commit
ac173a5a75
2 changed files with 7 additions and 1 deletions
|
@ -69,6 +69,7 @@ public enum IC2Duplicates {
|
|||
THICK_NEUTRON_REFLECTOR(ItemParts.getPartByName("thick_neutron_reflector")),
|
||||
IRIDIUM_NEUTRON_REFLECTOR(ItemParts.getPartByName("iridium_neutron_reflector")),
|
||||
SCRAP(ItemParts.getPartByName("scrap")),
|
||||
SCRAP_BOX(new ItemStack(ModItems.SCRAP_BOX)),
|
||||
FREQ_TRANSMITTER(new ItemStack(ModItems.FREQUENCY_TRANSMITTER)),
|
||||
|
||||
//Classical dedupes
|
||||
|
|
|
@ -122,6 +122,11 @@ public class TileMatterFabricator extends TilePowerAcceptor
|
|||
return 200;
|
||||
}
|
||||
}
|
||||
if (IC2Duplicates.SCRAP_BOX.hasIC2Stack()) {
|
||||
if (ItemUtils.isInputEqual(itemStack, IC2Duplicates.SCRAP_BOX.getIc2Stack(), true, true, true)) {
|
||||
return 2000;
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue