Skip to content

Commit

Permalink
Merge pull request jcm236#21 from GuyApooye/main
Browse files Browse the repository at this point in the history
small hotfix for math issue
  • Loading branch information
jcm236 authored Jan 14, 2025
2 parents b2ac1d9 + 3051b67 commit a8e483d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/net/jcm/vsch/util/TeleportationHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ private void collectNearby(Vector3dc origin, Vector3d newPos) {
}

private void handleTeleport() {
greatestOffset *= isReturning ? 1 : -1;
greatestOffset *= isReturning ? -1 : 1;
shipToPos.forEach((id, newPos) -> {
collectEntities(id, newPos);
handleShipTeleport(id, newPos);
Expand Down

0 comments on commit a8e483d

Please sign in to comment.