BetterNPCSheet5e icon indicating copy to clipboard operation
BetterNPCSheet5e copied to clipboard

Script references method that has been removed

Open KenGitsIt opened this issue 3 years ago • 1 comments

All references to actor.getOwnedItem in the script must be replaced with actor.items.get, as described here. That link mentions that getOwnedItem function was deprecated; now it has been completely removed, and the script fails to render the sheet properly.

KenGitsIt avatar Jan 07 '22 08:01 KenGitsIt

Fixed in pull request

KenGitsIt avatar Jan 07 '22 17:01 KenGitsIt