STBaf / NotYourTurn

A Foundry VTT module that prevents tokens from moving when it's not their turn in combat.
7 stars 3 forks source link

[BUG] When GM moves tokens who do not have initiative, tokens move on their own #18

Closed jhymesba closed 2 years ago

jhymesba commented 3 years ago

Setup

Describe the bug When attempting to move groups of NPC tokens, tokens will start moving everywhere, generating repeated error messages and causing the screen to jump from place to place.

Screenshots image

image

image

It's really difficult to give a good view of this without doing a video, but these are just three images.

Console Log foundry.js:19259 You are calling PlaceableObject#getFlag which has been deprecated in favor of Document#getFlag. Support will be removed in 0.9.0 getFlag @ foundry.js:19259 blockMovement @ NotYourTurn.js:187 (anonymous) @ NotYourTurn.js:157 _call @ VM5873:4 callAll @ foundry.js:153 callback @ foundry.js:8880 (anonymous) @ foundry.js:8850 _handleUpdateEmbeddedDocuments @ foundry.js:8850 _updateEmbeddedDocuments @ foundry.js:8739 3foundry.js:19241 You are calling PlaceableObject#update which has been deprecated in favor of Document#update or Scene#updateEmbeddedDocuments. Support will be removed in 0.9.0 update @ foundry.js:19241 setTokenPositionNew @ misc.js:51 blockMovement @ NotYourTurn.js:228 (anonymous) @ NotYourTurn.js:157 _call @ VM5873:4 callAll @ foundry.js:153 callback @ foundry.js:8880 (anonymous) @ foundry.js:8850 _handleUpdateEmbeddedDocuments @ foundry.js:8850 _updateEmbeddedDocuments @ foundry.js:8739 foundry.js:19268 You are calling PlaceableObject#setFlag which has been deprecated in favor of Document#setFlag. Support will be removed in 0.9.0 setFlag @ foundry.js:19268 setTokenPositionNew @ misc.js:52 6foundry.js:19241 You are calling PlaceableObject#update which has been deprecated in favor of Document#update or Scene#updateEmbeddedDocuments. Support will be removed in 0.9.0

(repeated)

Additional context Add any other context about the problem here.

STBaf commented 2 years ago

Since this bug is a little bit ago and we already arrived v9 stable: Can you still reproduce this problem or seem to be gone away by itself ?

STBaf commented 2 years ago

old issue, not clear if still exist, closing