2021-03-16 09:00:00 +11:00
|
|
|
--- a/net/minecraft/world/level/block/BlockGrassPath.java
|
|
|
|
+++ b/net/minecraft/world/level/block/BlockGrassPath.java
|
|
|
|
@@ -43,6 +43,11 @@
|
2020-09-08 12:17:23 +10:00
|
|
|
|
|
|
|
@Override
|
2021-11-22 09:00:00 +11:00
|
|
|
public void tick(IBlockData iblockdata, WorldServer worldserver, BlockPosition blockposition, Random random) {
|
2020-09-08 12:17:23 +10:00
|
|
|
+ // CraftBukkit start - do not fade if the block is valid here
|
2021-11-22 09:00:00 +11:00
|
|
|
+ if (iblockdata.canSurvive(worldserver, blockposition)) {
|
2020-09-08 12:17:23 +10:00
|
|
|
+ return;
|
|
|
|
+ }
|
|
|
|
+ // CraftBukkit end
|
2021-11-22 09:00:00 +11:00
|
|
|
BlockSoil.turnToDirt(iblockdata, worldserver, blockposition);
|
2020-09-08 12:17:23 +10:00
|
|
|
}
|
|
|
|
|