mirror of
https://github.com/sekwah41/Advanced-Portals.git
synced 2024-11-22 10:36:17 +01:00
Ment to set as 0.5.4
This commit is contained in:
parent
d2a362e5af
commit
a4771aa86a
@ -13,11 +13,14 @@ public class ConfigHelper {
|
|||||||
this.config = config;
|
this.config = config;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Recursively for each time there is a future update
|
||||||
|
*/
|
||||||
public void update() {
|
public void update() {
|
||||||
String configVersion = config.getString("ConfigVersion");
|
String configVersion = config.getString("ConfigVersion");
|
||||||
// Added in 0.5.3 so update to 0.5.3
|
// Added in 0.5.4
|
||||||
if(configVersion == null) {
|
if(configVersion == null || configVersion.equals("0.5.3")) {
|
||||||
config.set(ConfigHelper.CONFIG_VERSION, "0.5.3");
|
config.set(ConfigHelper.CONFIG_VERSION, "0.5.4");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
main: com.sekwah.advancedportals.bungee.AdvancedPortalsPlugin
|
main: com.sekwah.advancedportals.bungee.AdvancedPortalsPlugin
|
||||||
name: AdvancedPortals
|
name: AdvancedPortals
|
||||||
version: 0.5.3
|
version: 0.5.4
|
||||||
author: sekwah41
|
author: sekwah41
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
main: com.sekwah.advancedportals.bukkit.AdvancedPortalsPlugin
|
main: com.sekwah.advancedportals.bukkit.AdvancedPortalsPlugin
|
||||||
name: AdvancedPortals
|
name: AdvancedPortals
|
||||||
version: 0.5.3
|
version: 0.5.4
|
||||||
author: sekwah41
|
author: sekwah41
|
||||||
description: An advanced portals plugin for bukkit.
|
description: An advanced portals plugin for bukkit.
|
||||||
api-version: 1.13
|
api-version: 1.13
|
||||||
|
Loading…
Reference in New Issue
Block a user