Skip to content

Conversation

@adaliszk
Copy link
Collaborator

@adaliszk adaliszk commented Oct 4, 2025

With the expectation that the various method signatures accurately describe their functions, the "dropItem" was exceptionally hard to doubt and had been considered for several months before concluding that perhaps some side effects were implemented that the signature may not suggest.

This does not do any functional change, but improves the readability as now, in the five places where this "dropItem" was used, there is a clear indication that the item collection does happen, and suggests that the context needed to be passed not only for position, but for the contraption storage as well.

@adaliszk adaliszk self-assigned this Oct 4, 2025
@TropheusJ
Copy link
Collaborator

This is a breaking change. Please add a deprecated overload with the old name.

@adaliszk adaliszk force-pushed the refactor/drill-actor-collection branch 2 times, most recently from dd620a9 to e41a444 Compare November 1, 2025 06:54
With the expectation that the various method signatures do describe what they do, the "dropItem"
was exceptionally hard to doubt and gone past it several months before come to the conclusion that
maybe there are some side effects implemented where the signature may not suggest.

This does not do any functional change, but improves the readability as now the five places where
this "dropItem" was used, there is a clear indication that the item collection does happen, and
suggests that the context needed to be passed not for position only, but for the contraption
storage as well.
@adaliszk adaliszk force-pushed the refactor/drill-actor-collection branch from e41a444 to 08882bb Compare November 1, 2025 07:02
@adaliszk
Copy link
Collaborator Author

adaliszk commented Nov 1, 2025

This is a breaking change. Please add a deprecated overload with the old name.

Done, sorry for the late reaction:

image

@adaliszk adaliszk requested a review from TropheusJ November 1, 2025 07:03
@adaliszk
Copy link
Collaborator Author

adaliszk commented Nov 1, 2025

Hmm, the game test could not create a server.properties file? I am curious how my changes are linked with that.

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.

2 participants