Skip to content

Commit b3fabd1

Browse files
committed
Correctly move FarmlandBlock#fallOn super call
Commented-out version hunk dropped accidentally.
1 parent a44c689 commit b3fabd1

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/FarmlandBlock.java.patch

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
--- a/net/minecraft/world/level/block/FarmlandBlock.java
22
+++ b/net/minecraft/world/level/block/FarmlandBlock.java
3-
@@ -94,24 +_,44 @@
3+
@@ -94,31 +_,59 @@
44
@Override
55
protected void randomTick(final BlockState state, final ServerLevel level, final BlockPos pos, final RandomSource random) {
66
int moisture = state.getValue(MOISTURE);
@@ -47,7 +47,8 @@
4747
turnToDirt(entity, state, level, pos);
4848
}
4949

50-
@@ -119,6 +_,14 @@
50+
- super.fallOn(level, state, pos, entity, fallDistance);
51+
+ // super.fallOn(level, state, pos, entity, fallDistance); // CraftBukkit - moved up
5152
}
5253

5354
public static void turnToDirt(final @Nullable Entity sourceEntity, final BlockState state, final Level level, final BlockPos pos) {

0 commit comments

Comments
 (0)