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 assigning Flowing Water (regression from 6b00a3430d080ecf0b47ed0e13b... #2

Merged
merged 1 commit into from
Jul 22, 2015

Conversation

buscher
Copy link

@buscher buscher commented Jul 19, 2014

...e535b7f2d5eef)

when rendering WITH water (-nowater not set) the assignBlock water case did not hit
and ended in the default else tree, which was only supposed to happen for doublesteps.
Flowing water has a "col" value, depending on its height, so we did hit the
sandstone & wood & cobblestone doublestep case, which is why only height(col 1&2&3) flowing water
was replaced and the "low" flowing water not.

NOTE: also tested -nowater, still works
Images show the bug (without patch)

mcmap-bug
mcmap-bug_orig

when rendering WITH water (-nowater not set) the assignBlock water case did not hit
and ended in the default else tree, which was only supposed to happen for doublesteps.
Flowing water has a "col" value, depending on its height, we did hit the
sandstone & wood & cobblestone doublestep case, which is why only height flowing water
was replaced and the "low" flowing water not.
WRIM added a commit that referenced this pull request Jul 22, 2015
Fix assigning Flowing Water (regression from 6b00a34...
@WRIM WRIM merged commit 830600a into WRIM:master Jul 22, 2015
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.

2 participants