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.

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