aboutsummaryrefslogtreecommitdiffhomepage
path: root/Spigot-Server-Patches/0640-Configurable-door-breaking-difficulty.patch
diff options
context:
space:
mode:
authorMax Lee <[email protected]>2021-06-05 09:07:35 +0100
committerGitHub <[email protected]>2021-06-05 10:07:35 +0200
commit8fd4e70db71745fc18dd5dd3ef921a0970ba7b9b (patch)
tree594d322f5e6212e5f997956ed00f9abbb7f37e58 /Spigot-Server-Patches/0640-Configurable-door-breaking-difficulty.patch
parent7ad8498c32699fbaffa2c90f997b46ab4d139a38 (diff)
downloadPaper-8fd4e70db71745fc18dd5dd3ef921a0970ba7b9b.tar.gz
Paper-8fd4e70db71745fc18dd5dd3ef921a0970ba7b9b.zip
Improve seed based feature search to not load chunk (#5760)
This is done by returning the center location of the chunk at the height of the input location when the target chunk isn't loaded already which is exact enough for most use cases and will get more precise once the player is close enough for the chunk being loaded anyways. As this might lead to less precise locations a config option to enable the sync loading of the chunks is provided.
Diffstat (limited to 'Spigot-Server-Patches/0640-Configurable-door-breaking-difficulty.patch')
-rw-r--r--Spigot-Server-Patches/0640-Configurable-door-breaking-difficulty.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/Spigot-Server-Patches/0640-Configurable-door-breaking-difficulty.patch b/Spigot-Server-Patches/0640-Configurable-door-breaking-difficulty.patch
index 5ae39b3398..d52bdc76ed 100644
--- a/Spigot-Server-Patches/0640-Configurable-door-breaking-difficulty.patch
+++ b/Spigot-Server-Patches/0640-Configurable-door-breaking-difficulty.patch
@@ -5,7 +5,7 @@ Subject: [PATCH] Configurable door breaking difficulty
diff --git a/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java b/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java
-index c42e5d9f9c9f67988383c4c25123d8a629ede9e3..946c12abc0e25ccfe09ee64a7ac8b045ba5c46a9 100644
+index 23a23e2ea133ce81d3dedc4ffd17435a995497ef..497f32e4e1c82c0403669b612d07098c625288ce 100644
--- a/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java
+++ b/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java
@@ -5,8 +5,12 @@ import java.util.EnumMap;
@@ -33,7 +33,7 @@ index c42e5d9f9c9f67988383c4c25123d8a629ede9e3..946c12abc0e25ccfe09ee64a7ac8b045
public int cactusMaxHeight;
public int reedMaxHeight;
public int bambooMaxHeight;
-@@ -733,4 +742,23 @@ public class PaperWorldConfig {
+@@ -735,4 +744,23 @@ public class PaperWorldConfig {
private void disableMobSpawnerSpawnEggTransformation() {
disableMobSpawnerSpawnEggTransformation = getBoolean("game-mechanics.disable-mob-spawner-spawn-egg-transformation", disableMobSpawnerSpawnEggTransformation);
}