Skip to content

Commit 8156073

Browse files
authored
Fix typo in Vector2#updated
1 parent a0503fb commit 8156073

File tree

1 file changed

+1
-1
lines changed
  • Common/src/main/java/at/petrak/hexcasting/api/utils

1 file changed

+1
-1
lines changed

Common/src/main/java/at/petrak/hexcasting/api/utils/Vector.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -926,7 +926,7 @@ public Vector<A> updated(int index, A elem) {
926926
} else {
927927
return new Vector2<>(
928928
copyUpdate(this.prefix1, index, elem),
929-
this.len1, this.data2, this.prefix1, this.length0
929+
this.len1, this.data2, this.suffix1, this.length0
930930
);
931931
}
932932
} else throw ioob(index);

0 commit comments

Comments
 (0)