Skip to content

Commit 77834d3

Browse files
Lulu13022002jpenilla
authored andcommitted
Revert "fix sponge-absorb deleting chest content (#12647)"
This reverts commit 320f25c.
1 parent a0ef766 commit 77834d3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

paper-server/patches/sources/net/minecraft/world/level/block/SpongeBlock.java.patch

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
pos,
1111
6,
1212
65,
13-
@@ -63,8 +_,10 @@
13+
@@ -63,16 +_,18 @@
1414
if (blockPos.equals(pos)) {
1515
return BlockPos.TraversalNodeStatus.ACCEPT;
1616
} else {
@@ -23,7 +23,8 @@
2323
if (!fluidState.is(FluidTags.WATER)) {
2424
return BlockPos.TraversalNodeStatus.SKIP;
2525
} else if (blockState.getBlock() instanceof BucketPickup bucketPickup
26-
@@ -72,7 +_,7 @@
26+
- && !bucketPickup.pickupBlock(null, level, blockPos, blockState).isEmpty()) {
27+
+ && !bucketPickup.pickupBlock(null, blockList, blockPos, blockState).isEmpty()) { // CraftBukkit
2728
return BlockPos.TraversalNodeStatus.ACCEPT;
2829
} else {
2930
if (blockState.getBlock() instanceof LiquidBlock) {

0 commit comments

Comments
 (0)