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/0750-Add-option-to-fix-items-merging-through-walls.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/0750-Add-option-to-fix-items-merging-through-walls.patch')
-rw-r--r-- | Spigot-Server-Patches/0750-Add-option-to-fix-items-merging-through-walls.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Spigot-Server-Patches/0750-Add-option-to-fix-items-merging-through-walls.patch b/Spigot-Server-Patches/0750-Add-option-to-fix-items-merging-through-walls.patch index 6108117dfa..a407870cd4 100644 --- a/Spigot-Server-Patches/0750-Add-option-to-fix-items-merging-through-walls.patch +++ b/Spigot-Server-Patches/0750-Add-option-to-fix-items-merging-through-walls.patch @@ -5,10 +5,10 @@ Subject: [PATCH] Add option to fix items merging through walls diff --git a/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java b/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java -index 37f866629b7eed39ced4352c94e56c8de8ccfeb9..795b76379eb698aa0ed83c000ea0679a844792d5 100644 +index 467f4bd13c58f6724cdda580b95a0d58f516ec12..25db335f457eefd13798394ebfb6b6684be26610 100644 --- a/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java +++ b/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java -@@ -820,4 +820,9 @@ public class PaperWorldConfig { +@@ -822,4 +822,9 @@ public class PaperWorldConfig { private void mapItemFrameCursorLimit() { mapItemFrameCursorLimit = getInt("map-item-frame-cursor-limit", mapItemFrameCursorLimit); } |