mirror of
https://github.com/Creators-of-Create/Create.git
synced 2025-02-10 12:25:00 +01:00
fix contact offset added twice
This commit is contained in:
parent
0bfd98fccd
commit
bda6257025
1 changed files with 2 additions and 2 deletions
|
@ -89,7 +89,7 @@ public class ElevatorPulleyBlockEntity extends PulleyBlockEntity {
|
||||||
if (level.isClientSide())
|
if (level.isClientSide())
|
||||||
targetLevel = ec.clientYTarget;
|
targetLevel = ec.clientYTarget;
|
||||||
if (!wasArrived && !level.isClientSide()) {
|
if (!wasArrived && !level.isClientSide()) {
|
||||||
triggerContact(ec, targetLevel);
|
triggerContact(ec, targetLevel - ec.contactYOffset);
|
||||||
AllSoundEvents.CONTRAPTION_DISASSEMBLE.play(level, null, worldPosition.below((int) offset), 0.75f, 0.8f);
|
AllSoundEvents.CONTRAPTION_DISASSEMBLE.play(level, null, worldPosition.below((int) offset), 0.75f, 0.8f);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue