This commit is contained in:
Anuken
2020-11-15 20:20:37 -05:00
parent a172c12e5d
commit bedf93f0e0
6 changed files with 5 additions and 5 deletions

View File

@@ -273,7 +273,7 @@ public class ConstructBlock extends Block{
int accumulated = (int)(accumulator[i]); //get amount
if(clampedAmount > 0 && accumulated > 0){ //if it's positive, add it to the core
if(core != null){
if(core != null && requirements[i].item.unlockedNow()){ //only accept items that are unlocked
int accepting = core.acceptStack(requirements[i].item, accumulated, builder);
core.handleStack(requirements[i].item, accepting, builder);
accumulator[i] -= accepting;