aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/1004-Add-Alternate-Current-redstone-implementation.patch
diff options
context:
space:
mode:
authorSpottedleaf <[email protected]>2024-07-13 11:44:52 -0700
committerSpottedleaf <[email protected]>2024-07-13 11:44:52 -0700
commit2288e13816a74d96f3acbbb3c369b9ec87c8df76 (patch)
tree0a7f5b335390610f16af3097bc18f625b38d1018 /patches/server/1004-Add-Alternate-Current-redstone-implementation.patch
parent5a503d7db42eee8d287b7ed32db22a369e9e3146 (diff)
downloadPaper-2288e13816a74d96f3acbbb3c369b9ec87c8df76.tar.gz
Paper-2288e13816a74d96f3acbbb3c369b9ec87c8df76.zip
Update last chunk position in findSupportingBlock
Fixes fetching chunks needlessly multiple times. Thanks Lulu13022002 for pointing this out
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 cbf27f48a7..27f02baedd 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 f4e84f2be9a8f4852b5c26fc5ac063fa6375a341..3ad4c2d22c191bfc0e25a31661daebc1161e5656 100644
+index f4cffb4e0856126ea3dded5ab6a663d6bfcb4e26..f59c544b72a8d5c00f83ed51c54d2bba0e8a05de 100644
--- a/src/main/java/net/minecraft/world/level/Level.java
+++ b/src/main/java/net/minecraft/world/level/Level.java
-@@ -1969,4 +1969,14 @@ public abstract class Level implements LevelAccessor, AutoCloseable, ca.spottedl
+@@ -1971,4 +1971,14 @@ public abstract class Level implements LevelAccessor, AutoCloseable, ca.spottedl
}
}
// Paper end - notify observers even if grow failed