Skip to content
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

Fix #4621 by not rendering item frames with filled maps #4625

Open
wants to merge 1 commit into
base: 8.0.x-1.12.2
Choose a base branch
from
Open

Fix #4621 by not rendering item frames with filled maps #4625

wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented Dec 15, 2020

Fix #4621 Crash when looking at blueprint render containing item frame with map.

Tweaked the code rendering the blueprint preview, more specifically the method rendering entities. Changed it so in the preview, item frames with filled maps are rendered as simple empty item frames (filled by minecraft:air). This prevents the client from crashing when attempting to render the filled map.

Proposed changes have been tested and seem to work.

P.S. It might not be a super elegant fix, but definitely works, and fixes this game breaking bug. Open to other suggestions too, but looking at the fact that builders need major overhauling, until that happens it doesn't make sense to take the time to find a better solution.

- Fix to #4621 by not trying to render filled maps in item frames, since they cause the client to crash. Render an empty item frame instead.
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.12.2] Crash when looking at blueprint render containing item frame with map
0 participants