diff --git a/src/main/kotlin/xyz/xenondevs/nova/NovaLegacyDataConverter.kt b/src/main/kotlin/xyz/xenondevs/nova/NovaLegacyDataConverter.kt index df5fd31fb1..d847db439b 100644 --- a/src/main/kotlin/xyz/xenondevs/nova/NovaLegacyDataConverter.kt +++ b/src/main/kotlin/xyz/xenondevs/nova/NovaLegacyDataConverter.kt @@ -30,6 +30,7 @@ import xyz.xenondevs.nova.util.data.GSON import xyz.xenondevs.nova.util.data.Version import xyz.xenondevs.nova.util.data.fromJson import xyz.xenondevs.nova.util.hasNovaData +import java.io.File import java.util.* private fun ArmorStand.getTileEntityData() = @@ -61,6 +62,8 @@ object NovaLegacyDataConverter : Listener { Bukkit.getWorlds().flatMap { it.loadedChunks.asList() }.forEach(::convertChunk) if (IS_VERSION_CHANGE) { PermanentStorage.remove("placedTileEntities") + File(NOVA.dataFolder, "config.json").delete() + File(NOVA.dataFolder, "defaultConfigValues.do-not-edit").delete() } }