Sticker fixer.

This commit is contained in:
JozsefA 2021-03-20 23:35:13 -07:00
parent 6a0ad77fe7
commit 9a493b7977

View file

@ -70,6 +70,8 @@ public class StickerTileEntity extends SmartTileEntity implements IInstanceRende
if (isAttachedToBlock() && target == 0 && piston.getChaseTarget() == 1) if (isAttachedToBlock() && target == 0 && piston.getChaseTarget() == 1)
DistExecutor.unsafeRunWhenOn(Dist.CLIENT, () -> () -> playSound(false)); DistExecutor.unsafeRunWhenOn(Dist.CLIENT, () -> () -> playSound(false));
piston.chase(target, .4f, Chaser.LINEAR); piston.chase(target, .4f, Chaser.LINEAR);
DistExecutor.unsafeRunWhenOn(Dist.CLIENT, () -> () -> CreateClient.kineticRenderer.get(world).update(this));
} }
public boolean isAttachedToBlock() { public boolean isAttachedToBlock() {