Skip to content

Conversation

@noramibu
Copy link
Contributor

Type of change

  • Bug fix
  • New feature

Description

StorageESP was crashing because of duplicate delegates when rendering shulker boxes together with mods that also render items on block entities. That was happening happened because it was returning the same VertexConsumer instance every time.
So i simply return a new lightweight wrapper instance on every getBuffer() call to fix it

Related issues

#5974 and probably mods working similarly

How Has This Been Tested?

Tested with Peek mod in singleplayer
image

Checklist:

  • My code follows the style guidelines of this project.
  • I have added comments to my code in more complex areas.
  • I have tested the code in both development and production environments.

@Wide-Cat Wide-Cat linked an issue Dec 30, 2025 that may be closed by this pull request
2 tasks
@Wide-Cat Wide-Cat merged commit 2d22601 into MeteorDevelopment:master Dec 30, 2025
1 check passed
@noramibu noramibu deleted the peek-compatibility branch December 31, 2025 01:18
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.

Incompatability with features from Peek mod (duplicate delegates crash)

2 participants