From 35d9e49f23b89c110204651830df3a78713a8f9d Mon Sep 17 00:00:00 2001 From: Bob Date: Mon, 14 Aug 2023 20:11:26 +0200 Subject: [PATCH] block drop fix for fallout effects --- changelog | 2 +- src/main/java/com/hbm/entity/effect/EntityFalloutRain.java | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/changelog b/changelog index 29e0ddd73..61558946a 100644 --- a/changelog +++ b/changelog @@ -27,7 +27,7 @@ * Removed the special nuclear meteorite ## Fixed -* Fixed thermos craching config hitting before the config is saved, resulting in an empty config the first time the server is launched +* Fixed thermos crashing config hitting before the config is saved, resulting in an empty config the first time the server is launched * Fixed heating oven not visually connecting to exhaust pipes * Fixed loot blocks not correctly rendering items that require multiple render passes * Fixed special meteorites spawning in worldgen diff --git a/src/main/java/com/hbm/entity/effect/EntityFalloutRain.java b/src/main/java/com/hbm/entity/effect/EntityFalloutRain.java index 079e2ab2c..51ee981cb 100644 --- a/src/main/java/com/hbm/entity/effect/EntityFalloutRain.java +++ b/src/main/java/com/hbm/entity/effect/EntityFalloutRain.java @@ -179,6 +179,7 @@ public class EntityFalloutRain extends Entity { hardness = worldObj.getBlock(x, y + i, z).getBlockHardness(worldObj, x, y + i, z); if(hardness <= Blocks.stonebrick.getExplosionResistance(null) && hardness >= 0) { EntityFallingBlock entityfallingblock = new EntityFallingBlock(worldObj, x + 0.5D, y + 0.5D + i, z + 0.5D, worldObj.getBlock(x, y + i, z), worldObj.getBlockMetadata(x, y + i, z)); + entityfallingblock.field_145813_c = false; //turn off block drops because block dropping was coded by a mule with dementia worldObj.spawnEntityInWorld(entityfallingblock); } }