mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-06-02 18:59:19 +02:00
fix on 1.20
This commit is contained in:
parent
48e0e8f0ad
commit
2a532c6f34
|
@ -100,7 +100,7 @@ public abstract class EntityContraptionInteractionMixin extends CapabilityProvid
|
|||
|
||||
// involves block step sounds on contraptions
|
||||
// IFNE line 704 injecting before `!blockstate.isAir()`
|
||||
@Inject(method = "move", at = @At(value = "JUMP", opcode = Opcodes.IFNE, ordinal = 6))
|
||||
@Inject(method = "move", at = @At(value = "JUMP", opcode = Opcodes.IFNE, ordinal = 5))
|
||||
private void create$contraptionStepSounds(MoverType mover, Vec3 movement, CallbackInfo ci) {
|
||||
Vec3 worldPos = position.add(0, -0.2, 0);
|
||||
MutableBoolean stepped = new MutableBoolean(false);
|
||||
|
|
Loading…
Reference in a new issue