diff options
author | Max Lee <[email protected]> | 2021-06-05 09:07:35 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2021-06-05 10:07:35 +0200 |
commit | 8fd4e70db71745fc18dd5dd3ef921a0970ba7b9b (patch) | |
tree | 594d322f5e6212e5f997956ed00f9abbb7f37e58 /Spigot-Server-Patches/0610-Fix-curing-zombie-villager-discount-exploit.patch | |
parent | 7ad8498c32699fbaffa2c90f997b46ab4d139a38 (diff) | |
download | Paper-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/0610-Fix-curing-zombie-villager-discount-exploit.patch')
-rw-r--r-- | Spigot-Server-Patches/0610-Fix-curing-zombie-villager-discount-exploit.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Spigot-Server-Patches/0610-Fix-curing-zombie-villager-discount-exploit.patch b/Spigot-Server-Patches/0610-Fix-curing-zombie-villager-discount-exploit.patch index bcd571f1ce..8207906b97 100644 --- a/Spigot-Server-Patches/0610-Fix-curing-zombie-villager-discount-exploit.patch +++ b/Spigot-Server-Patches/0610-Fix-curing-zombie-villager-discount-exploit.patch @@ -8,10 +8,10 @@ and curing a villager on repeat by simply resetting the relevant part of the reputation when it is cured. diff --git a/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java b/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java -index 6262246c4018c660705fbad028f297fc44e7197f..9ebe8771c2d5e843756868824740ef599ca8455f 100644 +index 7d3207a9af8360ddad228281d6aa65e1a0d24157..a3b3e3e04b7a5e3a351992e06870cc91fbd8adc8 100644 --- a/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java +++ b/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java -@@ -715,4 +715,9 @@ public class PaperWorldConfig { +@@ -717,4 +717,9 @@ public class PaperWorldConfig { private void fixClimbingBypassingCrammingRule() { fixClimbingBypassingCrammingRule = getBoolean("fix-climbing-bypassing-cramming-rule", fixClimbingBypassingCrammingRule); } |