Skip to content

remove redundant mc.refreshResources() - #43

Merged
boubou19 merged 1 commit into
masterfrom
remove-redundant-refreshResources
Sep 3, 2026
Merged

remove redundant mc.refreshResources()#43
boubou19 merged 1 commit into
masterfrom
remove-redundant-refreshResources

Conversation

@danyadev

@danyadev danyadev commented Sep 3, 2026

Copy link
Copy Markdown
Member

Summary

Saves a second of loading or so and fixes a nasty infinite loop when trying to load the pack on mobile

The infinite loop looks like this:
FML pushes a new bar/step -> BLS tries to instantly render it -> the initialization is not complete yet, so create a new FontRenrerer() and refreshResources() -> it immediately pushes a new bar step -> loop begins again

Checklist

  • I have tested this PR in DevEnv
  • I have tested this PR in Fullpack
  • This PR is in compliance with the GTNH AI Policy
  • This PR requires another PR in order to merge

@boubou19
boubou19 merged commit a169d76 into master Sep 3, 2026
1 check passed
@boubou19
boubou19 deleted the remove-redundant-refreshResources branch September 3, 2026 23:11
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