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

Update RenderUtils.java #450

Open
wants to merge 1 commit into
base: 1.12.2
Choose a base branch
from
Open

Update RenderUtils.java #450

wants to merge 1 commit into from

Conversation

ben-mkiv
Copy link

@ben-mkiv ben-mkiv commented Oct 7, 2019

This PR addresses an issue which i ran into when using RandomThings (might be related to OpenTerrainGenerator or JustEnoughIDs)

I'm not sure if this is the best way to fix it as im not familiar with biome related stuff

The amount of changed lines is due to that i've moved some duplicated code to a separate function call, the main logic change is on the linked line, which checks if the biome has any type assigned before manipulating the biome color based on the biome type

crash report of rendering a cable facade with biome stone in JEI
https://pastebin.com/raw/NiiSjdWx

fix client crash if biome doesnt have any type assigned
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