From f5ae1d59b4b0ad515217d874d72111920ec1772a Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Tue, 4 Feb 2020 00:35:38 +0100 Subject: [PATCH] made the snow creator not infinitely use aura lol --- .../ellpeck/naturesaura/blocks/tiles/TileEntitySnowCreator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/de/ellpeck/naturesaura/blocks/tiles/TileEntitySnowCreator.java b/src/main/java/de/ellpeck/naturesaura/blocks/tiles/TileEntitySnowCreator.java index cdfc1edd..28bcd7d3 100644 --- a/src/main/java/de/ellpeck/naturesaura/blocks/tiles/TileEntitySnowCreator.java +++ b/src/main/java/de/ellpeck/naturesaura/blocks/tiles/TileEntitySnowCreator.java @@ -52,7 +52,7 @@ public class TileEntitySnowCreator extends TileEntityImpl implements ITickableTi Fluid fluid = this.world.getFluidState(down).getFluid(); if (fluid == Fluids.WATER) { this.world.setBlockState(down, Blocks.ICE.getDefaultState()); - } else if (Blocks.SNOW.getDefaultState().isValidPosition(this.world, pos)) { + } else if (Blocks.SNOW.getDefaultState().isValidPosition(this.world, pos) && this.world.getBlockState(pos).getBlock() != Blocks.SNOW) { this.world.setBlockState(pos, Blocks.SNOW.getDefaultState()); if (this.snowmanCount < range / 2 && this.world.rand.nextFloat() >= 0.995F) {