Skip to content

BUG - Max weight seem not work anymore #32

@p4535992

Description

@p4535992

Environment Details

Foundry VTT Version: 0.8.9
Operating System: [Linux]
How Are You Using Foundry: [Linux,Native Application (Electron), Chrome]
Which Game System: Dungeons and Dragons 5th Edition, version 1.4.2
Modules Enabled?: yes
OS, Hosting, Browser (if applicable): Linux/Node/Chrome
Module Version : 0.3.5

Description of the issue

The "Max Weight" property seem not work anymore with tidy sheet, so the feature "any item from being droped into the category if the combined itemweigth would be increased past this number" not work.

Another possible related exception i get when try to hook up the 'getdata' with this code

    libWrapper.register(VARIANT_ENCUMBRANCE_MODULE_NAME, 
      'game.dnd5e.applications.ActorSheet5eCharacter.prototype.getData', 
      async function (wrapped, ...args) {
        // const sheetData = wrapped(...args);
        // let app = this;
        const actorEntity: Actor = this.actor;  
        return wrapped(...args);
      },
    "MIXED");

is this :

img

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions