Skip to content

Fixes looping all itemtypes #8069

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

Open
wants to merge 1 commit into
base: dev/patch
Choose a base branch
from

Conversation

TheLimeGlass
Copy link
Contributor

Problem

When looping over all item types an NoSuchElementException is thrown.

Solution

Fix the iterator to account for the type having an itemstack

Other

Removes the weird double iterator creation. Should improve performance for itemtypes.


Completes: #7414

@TheLimeGlass TheLimeGlass requested review from sovdeeth and a team as code owners July 22, 2025 01:24
@TheLimeGlass TheLimeGlass requested review from TheMug06 and removed request for a team July 22, 2025 01:24
@skriptlang-automation skriptlang-automation bot added the needs reviews A PR that needs additional reviews label Jul 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs reviews A PR that needs additional reviews
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant