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

Improve object creation of ItemStacks in the GUI class #24

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

theEvilReaper
Copy link

@theEvilReaper theEvilReaper commented Jun 15, 2024

Description

The implementation of the GUI is somewhat poor. It creates multiple instances of an ItemStack when only one instance is needed. Additionally, the logic has been split into different methods to improve maintainability.

Checklist

  • I included all information required in the sections above
  • I tested my changes and approved their functionality
  • I ensured my changes do not break other parts of the code

@theEvilReaper theEvilReaper marked this pull request as ready for review June 15, 2024 21:09
@theEvilReaper theEvilReaper requested a review from a team as a code owner June 15, 2024 21:09
Copy link

sonarcloud bot commented Jun 19, 2024

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

Successfully merging this pull request may close these issues.

1 participant