Moerill / token-mold

MIT License
27 stars 33 forks source link

[BUG] tokens/actors without names can be created #111

Closed Drental closed 2 years ago

Drental commented 2 years ago

Describe the bug image image

To Reproduce if you turn off counting number suffix and random adjective, then change base name to remove and try and drag a token onto your map, it just breaks your game.

Expected behavior set a name that contains at least one character. Maybe copy the type and use that as the name?

Geekswordsman commented 2 years ago

This is an understandable bug as Foundry absolutely expects a name, but with this setup the program is literally trying to do what is asked of it.

I believe the best solution would be to not allow base name to be set to remove if add counting numbers and random adjectives are both disabled as well.