Removed requirements for optional inputs of blocks

This commit is contained in:
Anuken
2020-12-01 18:02:20 -05:00
parent 076363ac87
commit ee966d1198

View File

@@ -634,6 +634,8 @@ public class Block extends UnlockableContent{
//also requires inputs
consumes.each(c -> {
if(c.isOptional()) return;
if(c instanceof ConsumeItems i){
for(ItemStack stack : i.items){
cons.get(stack.item);