From 67703b0ba31f42e3e68b9bb0b8687e3a8acfbbae Mon Sep 17 00:00:00 2001 From: Sollace Date: Sun, 26 Apr 2020 22:39:44 +0200 Subject: [PATCH] Fix bugs with tilling clouds --- src/main/java/com/minelittlepony/unicopia/block/UBlocks.java | 2 +- src/main/java/com/minelittlepony/unicopia/gas/GasState.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/minelittlepony/unicopia/block/UBlocks.java b/src/main/java/com/minelittlepony/unicopia/block/UBlocks.java index a942cc7b..874ca759 100644 --- a/src/main/java/com/minelittlepony/unicopia/block/UBlocks.java +++ b/src/main/java/com/minelittlepony/unicopia/block/UBlocks.java @@ -23,7 +23,7 @@ import net.minecraft.util.Identifier; import net.minecraft.util.registry.Registry; public interface UBlocks { - CloudFarmlandBlock CLOUD_FARMLAND = register(new CloudFarmlandBlock(FabricBlockSettings.of(UMaterials.CLOUD).noCollision().ticksRandomly().breakInstantly().sounds(BlockSoundGroup.WOOL).build()), "cloud_farmland"); + CloudFarmlandBlock CLOUD_FARMLAND = register(new CloudFarmlandBlock(GasState.NORMAL.configure().build()), "cloud_farmland"); CloudBlock CLOUD_BLOCK = register(new CloudBlock(GasState.NORMAL), "cloud_block"); CloudBlock ENCHANTED_CLOUD_BLOCK = register(new CloudBlock(GasState.ENCHANTED), "enchanted_cloud_block"); CloudBlock DENSE_CLOUD_BLOCK = register(new CloudBlock(GasState.DENSE), "dense_cloud_block"); diff --git a/src/main/java/com/minelittlepony/unicopia/gas/GasState.java b/src/main/java/com/minelittlepony/unicopia/gas/GasState.java index 22bdaac6..1c9e1632 100644 --- a/src/main/java/com/minelittlepony/unicopia/gas/GasState.java +++ b/src/main/java/com/minelittlepony/unicopia/gas/GasState.java @@ -64,7 +64,7 @@ public enum GasState { || block instanceof ChestBlock); } - return main.isEmpty(); + return true; } } \ No newline at end of file