aboutsummaryrefslogtreecommitdiffhomepage
path: root/patch-remap/og/net/minecraft/world/level/block/BlockGrassPath.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patch-remap/og/net/minecraft/world/level/block/BlockGrassPath.patch')
-rw-r--r--patch-remap/og/net/minecraft/world/level/block/BlockGrassPath.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/patch-remap/og/net/minecraft/world/level/block/BlockGrassPath.patch b/patch-remap/og/net/minecraft/world/level/block/BlockGrassPath.patch
new file mode 100644
index 0000000000..b98e33d889
--- /dev/null
+++ b/patch-remap/og/net/minecraft/world/level/block/BlockGrassPath.patch
@@ -0,0 +1,14 @@
+--- a/net/minecraft/world/level/block/BlockGrassPath.java
++++ b/net/minecraft/world/level/block/BlockGrassPath.java
+@@ -51,6 +51,11 @@
+
+ @Override
+ public void tick(IBlockData iblockdata, WorldServer worldserver, BlockPosition blockposition, RandomSource randomsource) {
++ // CraftBukkit start - do not fade if the block is valid here
++ if (iblockdata.canSurvive(worldserver, blockposition)) {
++ return;
++ }
++ // CraftBukkit end
+ BlockSoil.turnToDirt((Entity) null, iblockdata, worldserver, blockposition);
+ }
+