Skip to content

Improve hoppers once again#76

Open
RVSkeLe wants to merge 3 commits intoClickism:masterfrom
RVSkeLe:fix/hoppers
Open

Improve hoppers once again#76
RVSkeLe wants to merge 3 commits intoClickism:masterfrom
RVSkeLe:fix/hoppers

Conversation

@RVSkeLe
Copy link
Contributor

@RVSkeLe RVSkeLe commented Feb 3, 2026

Fixed sync chunk loading and memory leak on World

  • Fixed sync chunk loading caused by World#getChunkAt
  • Fixed memory leak on World(s) by removing the World reference from HopperStorage

Do not track empty chunks

  • Now removeChunkIfEmpty also removes empty Worlds
  • loadHoppersInChunk will no longer add chunks with 0 villager hoppers to the loadedHoppers map
  • Add small safeguard in loadHoppersInWorld

RVSkeLe and others added 3 commits February 3, 2026 08:55
- Fixed sync chunk loading caused by World#getChunkAt
- Fixed memory leak on World(s) by removing the World reference from HopperStorage
- Now removeChunkIfEmpty also removes empty Worlds
- loadHoppersInChunk will no longer add chunks with 0 villager hoppers to the loadedHoppers map
- Add small safeguard in loadHoppersInWorld
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.

1 participant