mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-29 07:48:53 +01:00
14 lines
521 B
Diff
14 lines
521 B
Diff
--- a/net/minecraft/server/BlockGrassPath.java
|
|
+++ b/net/minecraft/server/BlockGrassPath.java
|
|
@@ -31,6 +31,11 @@
|
|
|
|
@Override
|
|
public void tickAlways(IBlockData iblockdata, WorldServer worldserver, BlockPosition blockposition, Random random) {
|
|
+ // CraftBukkit start - do not fade if the block is valid here
|
|
+ if (iblockdata.canPlace(worldserver, blockposition)) {
|
|
+ return;
|
|
+ }
|
|
+ // CraftBukkit end
|
|
BlockSoil.fade(iblockdata, worldserver, blockposition);
|
|
}
|
|
|