Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Machine Processing when not enough Space for Outputs #8

Closed
wants to merge 1 commit into from

Conversation

JustAHuman-xD
Copy link

@JustAHuman-xD JustAHuman-xD commented Feb 26, 2023

Description

Makes a machine check if there is enough space in the output slots before processing, saves materials from being voided unintentionally.

Also repeats a small bit of repeating code

Code Changes

  • Added MachineBlock#getFreeSpace
  • Added displayIfViewer

Related Issues

Mooy1/InfinityExpansion#103

Checklist

  • I have also tested the proposed changes with an addon.
  • I followed the existing code standards and didn't mess up the formatting.
  • I have added Nullable or Nonnull annotations to my methods
  • I have added sufficient Unit Tests to cover my code.
  • I updated the version in pom.xml according to semantic versioning.

@JustAHuman-xD
Copy link
Author

I am not updating the version in pom.xml to make it easier to update sefi lib with multiple changes (as there is another PR currently open & another one I am about to open)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant