summaryrefslogtreecommitdiffstats
path: root/nms-patches/BlockSoil.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/BlockSoil.patch')
-rw-r--r--nms-patches/BlockSoil.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/nms-patches/BlockSoil.patch b/nms-patches/BlockSoil.patch
index 33fdfe06..bb670a36 100644
--- a/nms-patches/BlockSoil.patch
+++ b/nms-patches/BlockSoil.patch
@@ -12,7 +12,7 @@
public class BlockSoil extends Block {
public static final BlockStateInteger MOISTURE = BlockStateInteger.of("moisture", 0, 7);
-@@ -35,6 +40,12 @@
+@@ -36,6 +41,12 @@
if (i > 0) {
world.setTypeAndData(blockposition, iblockdata.set(BlockSoil.MOISTURE, Integer.valueOf(i - 1)), 2);
} else if (!this.c(world, blockposition)) {
@@ -22,10 +22,10 @@
+ return;
+ }
+ // CraftBukkit end
- this.b(world, blockposition);
+ b(world, blockposition);
}
} else if (i < 7) {
-@@ -44,11 +55,29 @@
+@@ -45,11 +56,29 @@
}
public void fallOn(World world, BlockPosition blockposition, Entity entity, float f) {
@@ -48,11 +48,11 @@
+ return;
+ }
+ // CraftBukkit end
- this.b(world, blockposition);
+ b(world, blockposition);
}
- super.fallOn(world, blockposition, entity, f);
+ // super.fallOn(world, blockposition, entity, f); // CraftBukkit - moved up
}
- private void b(World world, BlockPosition blockposition) {
+ protected static void b(World world, BlockPosition blockposition) {