aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/1004-Add-Alternate-Current-redstone-implementation.patch
diff options
context:
space:
mode:
authorSpottedleaf <[email protected]>2024-07-15 09:56:17 -0700
committerSpottedleaf <[email protected]>2024-07-15 09:56:17 -0700
commit8b230185755c54a85194d85461f0a4262185c10c (patch)
treef06a0ae7a6c435c612df3fc3e092f5886f99c0ad /patches/server/1004-Add-Alternate-Current-redstone-implementation.patch
parentaa929d66667e58929097dee3fd9499095c989392 (diff)
downloadPaper-8b230185755c54a85194d85461f0a4262185c10c.tar.gz
Paper-8b230185755c54a85194d85461f0a4262185c10c.zip
Avoid collision shapes outside world border in findFreePosition
This is to correctly adhere to Vanilla behavior.
Diffstat (limited to 'patches/server/1004-Add-Alternate-Current-redstone-implementation.patch')
-rw-r--r--patches/server/1004-Add-Alternate-Current-redstone-implementation.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/server/1004-Add-Alternate-Current-redstone-implementation.patch b/patches/server/1004-Add-Alternate-Current-redstone-implementation.patch
index 27f02baedd..2ae48e3de4 100644
--- a/patches/server/1004-Add-Alternate-Current-redstone-implementation.patch
+++ b/patches/server/1004-Add-Alternate-Current-redstone-implementation.patch
@@ -2035,10 +2035,10 @@ index 8a3f58e6dfdb0af767be334087748f93c06ec797..7ba34da235ea536b929e1c8bc2cc39e4
EntityCallbacks() {}
diff --git a/src/main/java/net/minecraft/world/level/Level.java b/src/main/java/net/minecraft/world/level/Level.java
-index f4cffb4e0856126ea3dded5ab6a663d6bfcb4e26..f59c544b72a8d5c00f83ed51c54d2bba0e8a05de 100644
+index 070071096d30d368c25e748834f2b695a93903d2..260ce9660346774bda4c93da17596b968fdc1611 100644
--- a/src/main/java/net/minecraft/world/level/Level.java
+++ b/src/main/java/net/minecraft/world/level/Level.java
-@@ -1971,4 +1971,14 @@ public abstract class Level implements LevelAccessor, AutoCloseable, ca.spottedl
+@@ -1981,4 +1981,14 @@ public abstract class Level implements LevelAccessor, AutoCloseable, ca.spottedl
}
}
// Paper end - notify observers even if grow failed