mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-10 17:52:02 -07:00
Don't duplicate velocity entry into hidden-configs
also, rebuild patches
This commit is contained in:
@@ -14,7 +14,7 @@ forwarding, and is integrated into the Minecraft login process by using the 1.13
|
|||||||
login plugin message packet.
|
login plugin message packet.
|
||||||
|
|
||||||
diff --git a/src/main/java/com/destroystokyo/paper/PaperConfig.java b/src/main/java/com/destroystokyo/paper/PaperConfig.java
|
diff --git a/src/main/java/com/destroystokyo/paper/PaperConfig.java b/src/main/java/com/destroystokyo/paper/PaperConfig.java
|
||||||
index 092bff78ab..a987916055 100644
|
index 092bff78ab..421e78d624 100644
|
||||||
--- a/src/main/java/com/destroystokyo/paper/PaperConfig.java
|
--- a/src/main/java/com/destroystokyo/paper/PaperConfig.java
|
||||||
+++ b/src/main/java/com/destroystokyo/paper/PaperConfig.java
|
+++ b/src/main/java/com/destroystokyo/paper/PaperConfig.java
|
||||||
@@ -0,0 +0,0 @@ import java.io.IOException;
|
@@ -0,0 +0,0 @@ import java.io.IOException;
|
||||||
@@ -46,7 +46,9 @@ index 092bff78ab..a987916055 100644
|
|||||||
+ velocitySupport = getBoolean("settings.velocity-support.enabled", false);
|
+ velocitySupport = getBoolean("settings.velocity-support.enabled", false);
|
||||||
+ velocityOnlineMode = getBoolean("settings.velocity-support.online-mode", false);
|
+ velocityOnlineMode = getBoolean("settings.velocity-support.online-mode", false);
|
||||||
+ String secret = getString("settings.velocity-support.secret", "");
|
+ String secret = getString("settings.velocity-support.secret", "");
|
||||||
+ TimingsManager.hiddenConfigs.add("settings.velocity-support.secret");
|
+ if (TimingsManager.hiddenConfigs.contains("settings.velocity-support.secret")) {
|
||||||
|
+ TimingsManager.hiddenConfigs.add("settings.velocity-support.secret");
|
||||||
|
+ }
|
||||||
+ if (velocitySupport && secret.isEmpty()) {
|
+ if (velocitySupport && secret.isEmpty()) {
|
||||||
+ fatal("Velocity support is enabled, but no secret key was specified. A secret key is required!");
|
+ fatal("Velocity support is enabled, but no secret key was specified. A secret key is required!");
|
||||||
+ } else {
|
+ } else {
|
||||||
|
@@ -161,7 +161,7 @@ index 27ce4a828e..30bafb214b 100644
|
|||||||
|
|
||||||
public static Timing getTickList(WorldServer worldserver, String timingsType) {
|
public static Timing getTickList(WorldServer worldserver, String timingsType) {
|
||||||
diff --git a/src/main/java/com/destroystokyo/paper/PaperConfig.java b/src/main/java/com/destroystokyo/paper/PaperConfig.java
|
diff --git a/src/main/java/com/destroystokyo/paper/PaperConfig.java b/src/main/java/com/destroystokyo/paper/PaperConfig.java
|
||||||
index 8d1e871dd2..93ac863332 100644
|
index 4735d30253..5093c56f4e 100644
|
||||||
--- a/src/main/java/com/destroystokyo/paper/PaperConfig.java
|
--- a/src/main/java/com/destroystokyo/paper/PaperConfig.java
|
||||||
+++ b/src/main/java/com/destroystokyo/paper/PaperConfig.java
|
+++ b/src/main/java/com/destroystokyo/paper/PaperConfig.java
|
||||||
@@ -0,0 +0,0 @@
|
@@ -0,0 +0,0 @@
|
||||||
|
@@ -6,7 +6,7 @@ Subject: [PATCH] Book Size Limits
|
|||||||
Puts some limits on the size of books.
|
Puts some limits on the size of books.
|
||||||
|
|
||||||
diff --git a/src/main/java/com/destroystokyo/paper/PaperConfig.java b/src/main/java/com/destroystokyo/paper/PaperConfig.java
|
diff --git a/src/main/java/com/destroystokyo/paper/PaperConfig.java b/src/main/java/com/destroystokyo/paper/PaperConfig.java
|
||||||
index a987916055..30c794cfbf 100644
|
index 421e78d624..47c4c20502 100644
|
||||||
--- a/src/main/java/com/destroystokyo/paper/PaperConfig.java
|
--- a/src/main/java/com/destroystokyo/paper/PaperConfig.java
|
||||||
+++ b/src/main/java/com/destroystokyo/paper/PaperConfig.java
|
+++ b/src/main/java/com/destroystokyo/paper/PaperConfig.java
|
||||||
@@ -0,0 +0,0 @@ public class PaperConfig {
|
@@ -0,0 +0,0 @@ public class PaperConfig {
|
||||||
|
@@ -10,7 +10,7 @@ When not per player it will use the Vanilla mechanic of one delay per
|
|||||||
world and the world age for the start day.
|
world and the world age for the start day.
|
||||||
|
|
||||||
diff --git a/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java b/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java
|
diff --git a/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java b/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java
|
||||||
index bce502181..3f7841471 100644
|
index e93176d8f..659a011e9 100644
|
||||||
--- a/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java
|
--- a/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java
|
||||||
+++ b/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java
|
+++ b/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java
|
||||||
@@ -0,0 +0,0 @@ public class PaperWorldConfig {
|
@@ -0,0 +0,0 @@ public class PaperWorldConfig {
|
||||||
@@ -36,7 +36,7 @@ index bce502181..3f7841471 100644
|
|||||||
private void entitiesTargetWithFollowRange() {
|
private void entitiesTargetWithFollowRange() {
|
||||||
entitiesTargetWithFollowRange = getBoolean("entities-target-with-follow-range", entitiesTargetWithFollowRange);
|
entitiesTargetWithFollowRange = getBoolean("entities-target-with-follow-range", entitiesTargetWithFollowRange);
|
||||||
diff --git a/src/main/java/net/minecraft/server/EntityPlayer.java b/src/main/java/net/minecraft/server/EntityPlayer.java
|
diff --git a/src/main/java/net/minecraft/server/EntityPlayer.java b/src/main/java/net/minecraft/server/EntityPlayer.java
|
||||||
index 15230a834..c49e48e57 100644
|
index 43774bc9a..e353d9336 100644
|
||||||
--- a/src/main/java/net/minecraft/server/EntityPlayer.java
|
--- a/src/main/java/net/minecraft/server/EntityPlayer.java
|
||||||
+++ b/src/main/java/net/minecraft/server/EntityPlayer.java
|
+++ b/src/main/java/net/minecraft/server/EntityPlayer.java
|
||||||
@@ -0,0 +0,0 @@ public class EntityPlayer extends EntityHuman implements ICrafting {
|
@@ -0,0 +0,0 @@ public class EntityPlayer extends EntityHuman implements ICrafting {
|
||||||
|
Reference in New Issue
Block a user