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

Minor cleanups #50

Merged
merged 20 commits into from
Sep 26, 2024
Merged

Minor cleanups #50

merged 20 commits into from
Sep 26, 2024

Conversation

ah-OOG-ah
Copy link
Member

Scattershot of cleanups over the codebase, almost none of them should cause changes in behavior. Exceptions:

  • In IsolatorComponentLogic a try-catch was removed
  • The celebratory bee now breeds on Oct. 3 instead of Apr. 11, to match the apparent intended behavior.

@Dream-Master Dream-Master requested a review from a team September 20, 2024 21:45
Copy link

@OneEyeMaker OneEyeMaker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. Please apply my suggestions and corrections to all files. There are too many similar code pieces and I don't want create a mess by marking every one of them.
  2. Be careful with changing access modifiers of class members: some of these can be used in other mods. Please test your version of the mod in full pack (on large base with lots of machines from Binnie) to ensure everything works properly.

src/main/java/binnie/core/machines/Machine.java Outdated Show resolved Hide resolved
src/main/java/binnie/botany/Botany.java Outdated Show resolved Hide resolved
src/main/java/binnie/extrabees/ExtraBees.java Outdated Show resolved Hide resolved
src/main/java/binnie/extratrees/block/PlankType.java Outdated Show resolved Hide resolved

This comment was marked as outdated.

This comment was marked as outdated.

This comment was marked as outdated.

This comment was marked as outdated.

This comment was marked as outdated.

@ah-OOG-ah
Copy link
Member Author

ah-OOG-ah commented Sep 25, 2024

I think I got most of the comments - if I missed any, please re-request changes. I haven't scream tested this in the beta yet, will update once I do.

Edit: scream test passed (nightly 667 boots fine with it), although I haven't found anyone using Binnie to test it yet

This comment was marked as outdated.

My IDE was fighting with it
Copy link

@OneEyeMaker OneEyeMaker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job!

P. S. Sorry for the quality of my code review.
Reminder to myself: don't review code after midnight.

@Dream-Master Dream-Master enabled auto-merge (squash) September 26, 2024 14:58
@Dream-Master Dream-Master merged commit f0f14bb into master Sep 26, 2024
1 check passed
@Dream-Master Dream-Master deleted the minor-fixes branch September 26, 2024 14:59
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.

3 participants