mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-20 09:57:43 +01:00
Add configurable "sleep.not_possible" actionbar message (#1414)
This commit is contained in:
@@ -31,10 +31,10 @@ index 2048899f8e4c8211e8dde0d11148d647678009fa..1eec84e217f6dc929091fa7451cd235e
|
||||
|
||||
@Nullable
|
||||
diff --git a/src/main/java/org/purpurmc/purpur/PurpurConfig.java b/src/main/java/org/purpurmc/purpur/PurpurConfig.java
|
||||
index 430a289ae9780083ef4cfef88b4c210c60a61471..aeb104f4311b5affd0207eb1ec28dff11f537b39 100644
|
||||
index abea0905cc8a1ce6bffd4f2e581faea38ddd5b13..33a67078ba6ecc11d2929a164354702664d6a480 100644
|
||||
--- a/src/main/java/org/purpurmc/purpur/PurpurConfig.java
|
||||
+++ b/src/main/java/org/purpurmc/purpur/PurpurConfig.java
|
||||
@@ -395,6 +395,7 @@ public class PurpurConfig {
|
||||
@@ -397,6 +397,7 @@ public class PurpurConfig {
|
||||
public static boolean allowIncompatibleEnchants = true;
|
||||
public static boolean allowHigherEnchantsLevels = true;
|
||||
public static boolean allowUnsafeEnchantCommand = false;
|
||||
@@ -42,7 +42,7 @@ index 430a289ae9780083ef4cfef88b4c210c60a61471..aeb104f4311b5affd0207eb1ec28dff1
|
||||
private static void enchantmentSettings() {
|
||||
if (version < 5) {
|
||||
boolean oldValue = getBoolean("settings.enchantment.allow-infinite-and-mending-together", false);
|
||||
@@ -417,6 +418,7 @@ public class PurpurConfig {
|
||||
@@ -419,6 +420,7 @@ public class PurpurConfig {
|
||||
allowIncompatibleEnchants = getBoolean("settings.enchantment.anvil.allow-incompatible-enchants", allowIncompatibleEnchants);
|
||||
allowHigherEnchantsLevels = getBoolean("settings.enchantment.anvil.allow-higher-enchants-levels", allowHigherEnchantsLevels);
|
||||
allowUnsafeEnchantCommand = getBoolean("settings.enchantment.allow-unsafe-enchant-command", allowUnsafeEnchants); // allowUnsafeEnchants as default for backwards compatability
|
||||
|
||||
Reference in New Issue
Block a user