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.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/nms-patches/BlockSoil.patch b/nms-patches/BlockSoil.patch
index fab55b83..6490edd3 100644
--- a/nms-patches/BlockSoil.patch
+++ b/nms-patches/BlockSoil.patch
@@ -28,8 +28,8 @@
@@ -43,16 +54,35 @@
}
- public void a(World world, BlockPosition blockposition, Entity entity, float f) {
-+ super.a(world, blockposition, entity, f); // CraftBukkit - moved here as game rules / events shouldn't affect fall damage.
+ public void fallOn(World world, BlockPosition blockposition, Entity entity, float f) {
++ super.fallOn(world, blockposition, entity, f); // CraftBukkit - moved here as game rules / events shouldn't affect fall damage.
if (entity instanceof EntityLiving) {
if (!world.isClientSide && world.random.nextFloat() < f - 0.5F) {
if (!(entity instanceof EntityHuman) && !world.getGameRules().getBoolean("mobGriefing")) {
@@ -57,8 +57,8 @@
world.setTypeUpdate(blockposition, Blocks.DIRT.getBlockData());
}
-- super.a(world, blockposition, entity, f);
-+ // super.a(world, blockposition, entity, f); // CraftBukkit - moved up
+- super.fallOn(world, blockposition, entity, f);
++ // super.fallOn(world, blockposition, entity, f); // CraftBukkit - moved up
}
}