Skip to content

Commit

Permalink
Fix ElementHolder position delta always being zero (#86)
Browse files Browse the repository at this point in the history
  • Loading branch information
senseiwells authored Sep 4, 2023
1 parent 9843588 commit 8d5bedd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ protected void updatePosition() {
var newPos = this.attachment.getPos();

if (!this.currentPos.equals(newPos)) {
var delta = newPos.subtract(newPos);
var delta = newPos.subtract(this.currentPos);
this.notifyElementsOfPositionUpdate(newPos, delta);
this.currentPos = newPos;
this.currentChunkPos = null;
Expand Down

0 comments on commit 8d5bedd

Please sign in to comment.