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

Lilypads reset water physics in water non-source blocks #4255

Closed
csunday95 opened this issue Jul 12, 2018 · 1 comment · Fixed by #5056
Closed

Lilypads reset water physics in water non-source blocks #4255

csunday95 opened this issue Jul 12, 2018 · 1 comment · Fixed by #5056

Comments

@csunday95
Copy link

Client version: 1.12.2
Server OS: Linux (CentOS7)
Commit id: 06eb5cc

Expected behavior

Lilypads cannot be placed at all upon non-source flowing water; right clicking while a lilypad is equipped on flowing water is completely ignored

Actual behavior

Lilypad momentarily appears on block under flowing water, but is immediately displaced by water attempting to flow onto that block and becomes an item

Steps to reproduce the behavior

(1) Place a water source block such that blocks of flowing, non-source water are created
(2) attempt to place a lilypad upon a block of non-source flowing water such that the viewing angle also intersects with a block underneath the water

@tympaniplayer
Copy link
Contributor

This will happen no matter what type of block you place it on, try placing it on a dirt block. The only block it doesn't work for is air. There is a check for if (a_BlockFace > BLOCK_FACE_NONE) which just makes sure you aren't placing it on air, otherwise it is placed. I'm seeing if I can figure this problem out. Pretty new to the project so it may be slow going 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants