Fixed bug with flipping during beacon jump
This commit is contained in:
parent
cfacd49886
commit
659d713d91
1 changed files with 2 additions and 2 deletions
|
@ -624,7 +624,7 @@ public class EntityJump extends Entity {
|
|||
}
|
||||
|
||||
if (this.isCoordJump) {
|
||||
result = destX + (xCoord - oldX);
|
||||
result = oldX + (destX - xCoord);
|
||||
}
|
||||
|
||||
return result;
|
||||
|
@ -685,7 +685,7 @@ public class EntityJump extends Entity {
|
|||
}
|
||||
|
||||
if (this.isCoordJump) {
|
||||
result = destZ + (zCoord - oldZ);
|
||||
result = oldZ + (destZ - zCoord);
|
||||
}
|
||||
|
||||
return result;
|
||||
|
|
Loading…
Reference in a new issue