fix particles not turning off
This commit is contained in:
1 parent
b407e51d19
commit
bc3e598b1e
1 file changed
+1
@@ -103,6 +103,7 @@ public class BetterFoliageClient {
|
||||
}
|
||||
|
||||
public static void onRandomDisplayTick(Block block, World world, int x, int y, int z) {
|
||||
if (!BetterFoliage.config.fallingLeavesEnabled) return;
|
||||
if (!leaves.matchesID(block) || !world.isAirBlock(x, y - 1, z)) return;
|
||||
if (Math.random() > BetterFoliage.config.fallingLeavesChance.value) return;
|
||||
Minecraft.getMinecraft().effectRenderer.addEffect(new EntityFXFallingLeaves(world, x, y, z));
|
||||
|
||||
Reference in new issue
Block a user