mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-19 17:37:42 +01:00
Change sign config defaults to match vanilla
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
From 1408ae17dfcb8f7f9936aa8f5ff502fefd77eab1 Mon Sep 17 00:00:00 2001
|
From cc4bab45ae6d4e889e03196225b538ff245d3fdb Mon Sep 17 00:00:00 2001
|
||||||
From: William Blake Galbreath <blake.galbreath@gmail.com>
|
From: William Blake Galbreath <blake.galbreath@gmail.com>
|
||||||
Date: Fri, 24 May 2019 02:39:25 -0500
|
Date: Fri, 24 May 2019 02:39:25 -0500
|
||||||
Subject: [PATCH] Right click to open sign editor
|
Subject: [PATCH] Right click to open sign editor
|
||||||
@@ -31,14 +31,14 @@ index e058a85ba..8cf92d7a7 100644
|
|||||||
} else {
|
} else {
|
||||||
return false;
|
return false;
|
||||||
diff --git a/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java b/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
|
diff --git a/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java b/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
|
||||||
index 8d1f3feb8..383e7d5d5 100644
|
index 8d1f3feb8..8bd887b1c 100644
|
||||||
--- a/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
|
--- a/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
|
||||||
+++ b/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
|
+++ b/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
|
||||||
@@ -61,6 +61,11 @@ public class PurpurWorldConfig {
|
@@ -61,6 +61,11 @@ public class PurpurWorldConfig {
|
||||||
return config.getString("world-settings." + worldName + "." + path, config.getString("world-settings.default." + path));
|
return config.getString("world-settings." + worldName + "." + path, config.getString("world-settings.default." + path));
|
||||||
}
|
}
|
||||||
|
|
||||||
+ public boolean editableSigns = true;
|
+ public boolean editableSigns = false;
|
||||||
+ private void editableSigns() {
|
+ private void editableSigns() {
|
||||||
+ editableSigns = getBoolean("editable-signs", editableSigns);
|
+ editableSigns = getBoolean("editable-signs", editableSigns);
|
||||||
+ }
|
+ }
|
||||||
|
|||||||
Reference in New Issue
Block a user