Skip to content

[Bug]: Importing Group Rolls throws an error #289

@Ainias

Description

@Ainias

Description

When importing an exported Roll with GroupRolls throws an error TypeError: value must be one of ResultGroup, RollResults, string, or number

Reproduceable with the following code:

DiceRoll.import(new DiceRoll("{1d20}").export());

Dice Roller version

5.4.1

Bundle type

ESM

Node version

v18.18.2

Browser name and version

Brave v1.60.114

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions