grandseiken / foundryvtt-vehicles-and-mechanisms

11 stars 8 forks source link

Module not working with Version 10 #20

Open ashlacon opened 1 year ago

ashlacon commented 1 year ago

When I attempt to turn a vehicle into a drawing, the movement is unreliable and the "capture" button doesn't work for manually capturing things. The log gets spammed with errors, such as below, which talks about how the DrawingDocument#data object is now long used since V10.

Error: You are accessing the DrawingDocument#data object which is no longer used. Since V10 the Document class and its contained DataModel are merged into a combined data structure. You should now reference keys which were previously contained within the data object directly. at logCompatibilityWarning (commons.js:1692:19) at DrawingDocument._logV10CompatibilityWarning (commons.js:6642:14) at get data [as data] (commons.js:6542:24) at Vehicles._onUpdateDrawing (vehicles.js:817:65)