Skip to content

Variables.csv | File creation before checking vars #5626

@Fusezion

Description

@Fusezion

Skript/Server Version

[16:47:27 INFO]: [Skript] Skript's aliases can be found here: https://github.com/SkriptLang/skript-aliases
[16:47:27 INFO]: [Skript] Skript's documentation can be found here: https://docs.skriptlang.org/
[16:47:27 INFO]: [Skript] Skript's tutorials can be found here: https://docs.skriptlang.org/tutorials
[16:47:27 INFO]: [Skript] Server Version: git-Paper-514 (MC: 1.19.4)
[16:47:27 INFO]: [Skript] Skript Version: 2.7.0-beta2 (skriptlang-github)
[16:47:27 INFO]: [Skript] Installed Skript Addons: 
[16:47:27 INFO]: [Skript]  - skript-gui v1.3 (https://github.com/APickledWalrus/skript-gui)
[16:47:27 INFO]: [Skript]  - SkBee v3.0-custom (https://github.com/ShaneBeee/SkBee)
[16:47:27 INFO]: [Skript] Installed dependencies: 
[16:47:27 INFO]: [Skript]  - Vault v1.7.3-b131

Bug Description

From what Lime told me on discord, seems like skript is creating a file before properly checking if any vars are needing to be saved to the database as such even when there's only ram vars being set skript is still creating a variable backup

Expected Behavior

No additional file to be created when there's no variables to save besides ram vars

Steps to Reproduce

Set a ram var, wait for skript to create a variable backup and wait for more than 1 to be created with no variables being saved

Errors or Screenshots

image
image

Other

No response

Agreement

  • I have read the guidelines above and affirm I am following them with this report.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugAn issue that needs to be fixed. Alternatively, a PR fixing an issue.priority: mediumIssues that are detrimental to user experience (prohibitive bugs or lack of useful implementation).variablesRelated to variables and/or storing them.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions