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

Sticky pistons should drop their block when powered by a short pulse. #5365

Open
havel06 opened this issue Dec 31, 2021 · 3 comments · May be fixed by #5383
Open

Sticky pistons should drop their block when powered by a short pulse. #5365

havel06 opened this issue Dec 31, 2021 · 3 comments · May be fixed by #5383

Comments

@havel06
Copy link
Contributor

havel06 commented Dec 31, 2021

Client version: 1.12
Server OS: Debian Linux

Expected behavior

When a sticky piston gets powered by a 2 game tick (1 redstone tick) pulse, it should push away the block directly in front of it, without retracting it back.

Actual behavior

The block gets retracted immediately.

Steps to reproduce the behavior

Place a sticky piston facing a pushable block. Power the piston with a 2 game tick pulse.

@InfRandomness
Copy link

I am taking a shot at fixing the issue

@tigerw
Copy link
Member

tigerw commented Jan 11, 2022

Thanks for taking a look! The relevant code is in BlockPiston.h/cpp and Simulator/IncrementalRedstoneSimulator/PistonHandler.h

@AirOne01
Copy link
Contributor

AirOne01 commented Jan 19, 2022

I reported something "similar" in #4605, if someone is interested.
Not the same behavior but it's still pistons moving a block when in vanilla they don't.
Edit: I just realised it might not be usefull as you made a PR.

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