don't return setBlockState in the multiblock maker

This commit is contained in:
Ellpeck 2018-11-07 13:38:10 +01:00
parent 646395aa70
commit c07118de2a

View file

@ -44,7 +44,10 @@ public class ItemMultiblockMaker extends ItemImpl {
return EnumActionResult.PASS;
if (!worldIn.isRemote)
multi.forEach(pos.up(), (char) 0, (blockPos, matcher) -> worldIn.setBlockState(blockPos, matcher.defaultState));
multi.forEach(pos.up(), (char) 0, (blockPos, matcher) -> {
worldIn.setBlockState(blockPos, matcher.defaultState);
return true;
});
return EnumActionResult.SUCCESS;
}