TrevorMDev / tile-packs

A collection of tile markers
BSD 2-Clause "Simplified" License
7 stars 5 forks source link

Add version number #15

Closed TrevorMDev closed 1 year ago

TrevorMDev commented 1 year ago

this is a version number that would be stored in the config on the plugin start.

If the stored version is different from the current version, delete all stored tiles and re-build them.

This is all to add support for changing the tiles within a pack without needing to disable and re-enable it.

TrevorMDev commented 1 year ago

Resolving this in a different way,

Instead of the active tiles coming from a config, they are just going to come directly from the loaded packs. This way no re-build is ever needed, the tiles will automatically "update" when the plugin is enabled.