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
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue