Skip to content

Improve object creation of ItemStacks in the GUI class#24

Open
theEvilReaper wants to merge 2 commits intomasterfrom
feature/improveGUI
Open

Improve object creation of ItemStacks in the GUI class#24
theEvilReaper wants to merge 2 commits intomasterfrom
feature/improveGUI

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
@sonarqubecloud
Copy link

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