Fix /purpur reload not reloading world options

This commit is contained in:
William Blake Galbreath
2020-01-14 20:58:59 -06:00
parent e4b55a3da2
commit 535006bd94
34 changed files with 142 additions and 153 deletions

View File

@@ -1,4 +1,4 @@
From 2a405bf3462278e4dfaf7f34e5bc79de1afbf9d3 Mon Sep 17 00:00:00 2001
From 437b82c05e30e30bf70561ae8f235336055af24d Mon Sep 17 00:00:00 2001
From: William Blake Galbreath <blake.galbreath@gmail.com>
Date: Sun, 19 May 2019 18:11:53 -0500
Subject: [PATCH] Add regen effect to campfires
@@ -151,12 +151,12 @@ index a1580b8c6d..3a44454ed7 100644
}
diff --git a/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java b/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
index 30f11fe261..314fd584b8 100644
index 4985f21733..f4811a1d7b 100644
--- a/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
+++ b/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
@@ -60,4 +60,27 @@ public class PurpurWorldConfig {
config.addDefault("world-settings.default." + path, def);
return config.getString("world-settings." + worldName + "." + path, config.getString("world-settings.default." + path));
@@ -57,4 +57,27 @@ public class PurpurWorldConfig {
PurpurConfig.config.addDefault("world-settings.default." + path, def);
return PurpurConfig.config.getString("world-settings." + worldName + "." + path, PurpurConfig.config.getString("world-settings.default." + path));
}
+
+ public int campfireRegenInterval = 40;
@@ -183,5 +183,5 @@ index 30f11fe261..314fd584b8 100644
+ }
}
--
2.24.0.rc1
2.24.0