aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0987-Moonrise-optimisation-patches.patch
diff options
context:
space:
mode:
authorAnthony J. Halliday <[email protected]>2024-08-19 05:46:39 -0400
committerGitHub <[email protected]>2024-08-19 11:46:39 +0200
commitba1b0162faaa7bf78d33162f6976586bb3049275 (patch)
treee07084eb21f4bc2950d6a6560767481227fafa29 /patches/server/0987-Moonrise-optimisation-patches.patch
parentdae906ba452e4a17779aa6438ccd6deb42d7f0df (diff)
downloadPaper-ba1b0162faaa7bf78d33162f6976586bb3049275.tar.gz
Paper-ba1b0162faaa7bf78d33162f6976586bb3049275.zip
Allow server administrators to disable book size checks (#10457)
Diffstat (limited to 'patches/server/0987-Moonrise-optimisation-patches.patch')
-rw-r--r--patches/server/0987-Moonrise-optimisation-patches.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/patches/server/0987-Moonrise-optimisation-patches.patch b/patches/server/0987-Moonrise-optimisation-patches.patch
index 3bd8db1c5f..5385aa6662 100644
--- a/patches/server/0987-Moonrise-optimisation-patches.patch
+++ b/patches/server/0987-Moonrise-optimisation-patches.patch
@@ -22216,10 +22216,10 @@ index 0000000000000000000000000000000000000000..85950a1aa732ab8c01ad28bec9e0de14
+ }
+}
diff --git a/src/main/java/io/papermc/paper/configuration/GlobalConfiguration.java b/src/main/java/io/papermc/paper/configuration/GlobalConfiguration.java
-index 9db431ddb43e94d5e8dc3875d8d9c6fa5a05bbea..214ea75502d4abf9ebbc99a3811e4d2f8465227e 100644
+index f19b4a17a7e22969f7b51d3bea4056b41ab25484..690086adcb1f87adc0b3ab664fde735ad3e1093a 100644
--- a/src/main/java/io/papermc/paper/configuration/GlobalConfiguration.java
+++ b/src/main/java/io/papermc/paper/configuration/GlobalConfiguration.java
-@@ -30,6 +30,45 @@ public class GlobalConfiguration extends ConfigurationPart {
+@@ -31,6 +31,45 @@ public class GlobalConfiguration extends ConfigurationPart {
public static GlobalConfiguration get() {
return instance;
}
@@ -22265,7 +22265,7 @@ index 9db431ddb43e94d5e8dc3875d8d9c6fa5a05bbea..214ea75502d4abf9ebbc99a3811e4d2f
static void set(GlobalConfiguration instance) {
GlobalConfiguration.instance = instance;
}
-@@ -138,21 +177,6 @@ public class GlobalConfiguration extends ConfigurationPart {
+@@ -139,21 +178,6 @@ public class GlobalConfiguration extends ConfigurationPart {
public int incomingPacketThreshold = 300;
}
@@ -22287,7 +22287,7 @@ index 9db431ddb43e94d5e8dc3875d8d9c6fa5a05bbea..214ea75502d4abf9ebbc99a3811e4d2f
public UnsupportedSettings unsupportedSettings;
public class UnsupportedSettings extends ConfigurationPart {
-@@ -211,7 +235,7 @@ public class GlobalConfiguration extends ConfigurationPart {
+@@ -212,7 +236,7 @@ public class GlobalConfiguration extends ConfigurationPart {
@PostProcess
private void postProcess() {