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/0626-Allow-disabling-mob-spawner-spawn-egg-transformation.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/0626-Allow-disabling-mob-spawner-spawn-egg-transformation.patch')
-rw-r--r-- | Spigot-Server-Patches/0626-Allow-disabling-mob-spawner-spawn-egg-transformation.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Spigot-Server-Patches/0626-Allow-disabling-mob-spawner-spawn-egg-transformation.patch b/Spigot-Server-Patches/0626-Allow-disabling-mob-spawner-spawn-egg-transformation.patch index 5a7b73fbca..115f473843 100644 --- a/Spigot-Server-Patches/0626-Allow-disabling-mob-spawner-spawn-egg-transformation.patch +++ b/Spigot-Server-Patches/0626-Allow-disabling-mob-spawner-spawn-egg-transformation.patch @@ -5,10 +5,10 @@ Subject: [PATCH] Allow disabling mob spawner spawn egg transformation diff --git a/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java b/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java -index 9ebe8771c2d5e843756868824740ef599ca8455f..a555d040fdc58f7c89ef78e3e6851916fdd8462a 100644 +index a3b3e3e04b7a5e3a351992e06870cc91fbd8adc8..b48067c71f9de18ba40e970e2832f6245984a218 100644 --- a/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java +++ b/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java -@@ -720,4 +720,9 @@ public class PaperWorldConfig { +@@ -722,4 +722,9 @@ public class PaperWorldConfig { private void fixCuringExploit() { fixCuringZombieVillagerDiscountExploit = getBoolean("game-mechanics.fix-curing-zombie-villager-discount-exploit", fixCuringZombieVillagerDiscountExploit); } |