mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2024-09-07 04:48:07 +02:00
Fixed configuration file not being reloaded.
This commit is contained in:
parent
d2435a8026
commit
789a9a9bb4
@ -157,6 +157,7 @@ private void registerEvent(Event.Type type, Listener listener, Priority priority
|
|||||||
*/
|
*/
|
||||||
public void loadConfiguration() {
|
public void loadConfiguration() {
|
||||||
Configuration config = getConfiguration();
|
Configuration config = getConfiguration();
|
||||||
|
config.load();
|
||||||
|
|
||||||
enforceOneSession = config.getBoolean("protection.enforce-single-session", true);
|
enforceOneSession = config.getBoolean("protection.enforce-single-session", true);
|
||||||
itemDurability = config.getBoolean("protection.item-durability", true);
|
itemDurability = config.getBoolean("protection.item-durability", true);
|
||||||
|
Loading…
Reference in New Issue
Block a user