Sticky pistons break Melon and Pumpkin blocks when pulled.
Steps to reproduce:
Power a sticky piston
Place Melon or Pumpkin in front of the piston
Un-Power piston
That behaviour is different compared to 14w17a or 1.7.9, see screenshots.
Linked issues
discovered while testing 1
is duplicated by 3
Attachments
Comments 2
also with saplings, crops, leaves and liquids says: MC-54637
Here is how to fix it:
When a sticky piston retracts, it calls the method which moves the blocks.
In 14w18a this looks roughly like this:
if (!somebool) {
moveblocks();
}
In older versions it looked like this (which would also prevent this bug now):
if (!somebool && blockInFront.getMatierial() != Material.air && isMovable(blockInFront) && (blockInFront.getMobilityFlag() == 0 || blockInFront == Blocks.piston || blockInFront == Blocks.sticky_piston)) {
moveblocks();
}
I think we just accidently removed these checks when testing things. Adding them again should fix this bug.