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

Open
csunday95 opened this Issue Jul 12, 2018 · 1 comment

Comments

Projects
None yet
3 participants
@csunday95
Copy link

csunday95 commented Jul 12, 2018

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

This comment has been minimized.

Copy link
Contributor

tympaniplayer commented Aug 11, 2018

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