mirror of
https://github.com/songoda/EpicFarming.git
synced 2025-02-08 08:31:42 +01:00
Patch
This commit is contained in:
parent
246c7e430f
commit
fdb98950c4
4
.gitignore
vendored
4
.gitignore
vendored
@ -6,3 +6,7 @@ out/
|
|||||||
EpicFarming\.iml
|
EpicFarming\.iml
|
||||||
/src/main/resources/META-INF/MANIFEST.MF
|
/src/main/resources/META-INF/MANIFEST.MF
|
||||||
/target/
|
/target/
|
||||||
|
|
||||||
|
EpicFarming-API/src/main/EpicFarming-API\.iml
|
||||||
|
|
||||||
|
EpicFarming-Plugin/src/main/EpicFarming-Plugin\.iml
|
||||||
|
@ -272,9 +272,10 @@ public class EpicFarmingPlugin extends JavaPlugin implements EpicFarming {
|
|||||||
private void setupConfig() {
|
private void setupConfig() {
|
||||||
settingsManager.updateSettings();
|
settingsManager.updateSettings();
|
||||||
|
|
||||||
ConfigurationSection levels = getConfig().createSection("settings.levels");
|
if (!getConfig().contains("settings.levels.Level-1")) {
|
||||||
|
ConfigurationSection levels =
|
||||||
|
getConfig().createSection("settings.levels");
|
||||||
|
|
||||||
if (!levels.contains("Level-1")) {
|
|
||||||
levels.set("Level-1.Radius", 1);
|
levels.set("Level-1.Radius", 1);
|
||||||
levels.set("Level-1.Speed-Multiplier", 1);
|
levels.set("Level-1.Speed-Multiplier", 1);
|
||||||
levels.set("Level-1.Cost-xp", 20);
|
levels.set("Level-1.Cost-xp", 20);
|
||||||
|
Loading…
Reference in New Issue
Block a user