mirror of
https://github.com/exituser/Brewery.git
synced 2026-09-17 10:08:54 +00:00
Add File Version
This commit is contained in:
@@ -51,6 +51,9 @@ colorInBrewer: false
|
|||||||
# Autosave Intervall in Minuten [3]
|
# Autosave Intervall in Minuten [3]
|
||||||
autosave: 3
|
autosave: 3
|
||||||
|
|
||||||
|
# Config Version
|
||||||
|
version: '0.4'
|
||||||
|
|
||||||
|
|
||||||
# Rezepte für Getränke
|
# Rezepte für Getränke
|
||||||
|
|
||||||
|
|||||||
@@ -454,6 +454,8 @@ public class P extends JavaPlugin {
|
|||||||
|
|
||||||
saveWorldNames(configFile, oldData.getConfigurationSection("Worlds"));
|
saveWorldNames(configFile, oldData.getConfigurationSection("Worlds"));
|
||||||
|
|
||||||
|
configFile.set("Version", "0.4");
|
||||||
|
|
||||||
try {
|
try {
|
||||||
configFile.save(datafile);
|
configFile.save(datafile);
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user