Skip to content

Commit

Permalink
Dev (#43)
Browse files Browse the repository at this point in the history
* fix: push mp players instead of alt players (#38)

* fix: client colshape get/set position (#40)

* Revert "feat: refactor occupants to not use alt passengers map (#34)" (#37)

This reverts commit a30695a.

* Reapply "feat: refactor occupants to not use alt passengers map (#34)" (#37)

This reverts commit 1da3424.

* fix: push mp players instead of alt players (#38) (#39)

Co-authored-by: Vadim Zubkov <[email protected]>

* fix: colshape get/set position

* chore: add check colshape is valid

---------

Co-authored-by: Jengas <[email protected]>
Co-authored-by: Vadim Zubkov <[email protected]>

* chore: bump version

* Fix/colshape position (#42)

* Revert "feat: refactor occupants to not use alt passengers map (#34)" (#37)

This reverts commit a30695a.

* Reapply "feat: refactor occupants to not use alt passengers map (#34)" (#37)

This reverts commit 1da3424.

* fix: push mp players instead of alt players (#38) (#39)

Co-authored-by: Vadim Zubkov <[email protected]>

* Dev (#41)

* fix: push mp players instead of alt players (#38)

* fix: client colshape get/set position (#40)

* Revert "feat: refactor occupants to not use alt passengers map (#34)" (#37)

This reverts commit a30695a.

* Reapply "feat: refactor occupants to not use alt passengers map (#34)" (#37)

This reverts commit 1da3424.

* fix: push mp players instead of alt players (#38) (#39)

Co-authored-by: Vadim Zubkov <[email protected]>

* fix: colshape get/set position

* chore: add check colshape is valid

---------

Co-authored-by: Jengas <[email protected]>
Co-authored-by: Vadim Zubkov <[email protected]>

* chore: bump version

---------

Co-authored-by: Vadim Zubkov <[email protected]>
Co-authored-by: Artem Valeev <[email protected]>

* fix: try fix colshape position

---------

Co-authored-by: Jengas <[email protected]>
Co-authored-by: Vadim Zubkov <[email protected]>

* chore: bump version

---------

Co-authored-by: Vadim Zubkov <[email protected]>
Co-authored-by: Artem Valeev <[email protected]>
  • Loading branch information
3 people authored Sep 18, 2024
1 parent f8ca78b commit bcc126d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions bindings/src/client/entities/Colshape.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ export class _Colshape extends _WorldObject {
}

get position() {
if (!this.alt.valid) return mp.Vector3.zero;
return this.alt.pos;
if (!this.valid) return mp.Vector3.zero;
return new mp.Vector3(this.alt.pos);
}

set position(value) {
if (!this.alt.valid) return;
if (!this.valid) return;
this.alt.pos = value;
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ragemp-altv-bridge",
"version": "1.0.7",
"version": "1.0.8",
"description": "RAGE Multiplayer alt:V Bridge. This package provides a bridge between RAGE Multiplayer and alt:V. It allows you to use RAGEMP code in alt:V.",
"keywords": [
"ragemp",
Expand Down

0 comments on commit bcc126d

Please sign in to comment.