aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/1053-Properly-destroy-placed-blocks-on-the-end-platform.patch
diff options
context:
space:
mode:
authorDerEchtePilz <[email protected]>2024-08-25 22:25:13 +0200
committerGitHub <[email protected]>2024-08-25 22:25:13 +0200
commit374d9c85ba95f64910c769f4f21f42cc87809298 (patch)
tree505d59b6eea438ebaf28252e67f5361b1d1d127b /patches/server/1053-Properly-destroy-placed-blocks-on-the-end-platform.patch
parentad4c524c2f09c6b4e0f73e5418ee3aeb0db9972e (diff)
downloadPaper-374d9c85ba95f64910c769f4f21f42cc87809298.tar.gz
Paper-374d9c85ba95f64910c769f4f21f42cc87809298.zip
Add a method to reset Lodestone compasses back to normal ones (#11308)
Diffstat (limited to 'patches/server/1053-Properly-destroy-placed-blocks-on-the-end-platform.patch')
-rw-r--r--patches/server/1053-Properly-destroy-placed-blocks-on-the-end-platform.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/server/1053-Properly-destroy-placed-blocks-on-the-end-platform.patch b/patches/server/1053-Properly-destroy-placed-blocks-on-the-end-platform.patch
index 94813b1d42..9bbeddc476 100644
--- a/patches/server/1053-Properly-destroy-placed-blocks-on-the-end-platform.patch
+++ b/patches/server/1053-Properly-destroy-placed-blocks-on-the-end-platform.patch
@@ -12,7 +12,7 @@ platform to be lost. The patch moves the destroy calls and executes them
on the actual world access.
diff --git a/src/main/java/net/minecraft/world/level/levelgen/feature/EndPlatformFeature.java b/src/main/java/net/minecraft/world/level/levelgen/feature/EndPlatformFeature.java
-index 0bc659a8427b89b5e3211220c55b52eec6a20494..15d0de7b623d874972c67ac34da2718220b6bdf5 100644
+index 0bc659a8427b89b5e3211220c55b52eec6a20494..8aa5445e38622cd7cf4b3e42e9be8760827639fa 100644
--- a/src/main/java/net/minecraft/world/level/levelgen/feature/EndPlatformFeature.java
+++ b/src/main/java/net/minecraft/world/level/levelgen/feature/EndPlatformFeature.java
@@ -44,7 +44,7 @@ public class EndPlatformFeature extends Feature<NoneFeatureConfiguration> {
@@ -20,7 +20,7 @@ index 0bc659a8427b89b5e3211220c55b52eec6a20494..15d0de7b623d874972c67ac34da27182
if (!blockList.getBlockState(blockposition_mutableblockposition1).is(block)) {
if (flag) {
- blockList.destroyBlock(blockposition_mutableblockposition1, true, (Entity) null);
-+ // blockList.destroyBlock(blockposition_mutableblockposition1, true, (Entity) null); // Paper - moved down - cb implementation of LevelAccessor does not support destoryBlock
++ // blockList.destroyBlock(blockposition_mutableblockposition1, true, (Entity) null); // Paper - moved down - cb implementation of LevelAccessor does not support destroyBlock
}
blockList.setBlock(blockposition_mutableblockposition1, block.defaultBlockState(), 3);