Expose required variable changes for save as a config option #6672
Labels
enhancement
Feature request, an issue about something that could be improved, or a PR improving something.
priority: lowest
"Nice to have" updates that are not required (tiny low impact bug fixes or QoL enhancements).
Suggestion
There is currently (probably) no way to change this
Even though I use this code, it still doesn't work.
So I suggest you add an entry to your configuration for this or include this code in your activity
@Override public void onEnable() { try { Field field = FlatFileStorage.class.getDeclaredField("REQUIRED_CHANGES_FOR_RESAVE"); field.setAccessible(true); field.set(null, 1); } catch (Exception ex) { throw new RuntimeException(ex); } }
Why?
There may not always be enough actions in script variables to make it work.
Especially when the server is mostly built on plugins and add-ons in scripts
Other
No response
Agreement
The text was updated successfully, but these errors were encountered: