This commit is contained in:
modmuss50 2019-03-08 13:34:55 +00:00
parent 932848e933
commit ac173a5a75
2 changed files with 7 additions and 1 deletions

View file

@ -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

View file

@ -1,4 +1,4 @@
/*
/*
* This file is part of TechReborn, licensed under the MIT License (MIT).
*
* Copyright (c) 2018 TechReborn
@ -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;
}