mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
block drop fix for fallout effects
This commit is contained in:
parent
6b381821b8
commit
35d9e49f23
@ -27,7 +27,7 @@
|
|||||||
* Removed the special nuclear meteorite
|
* Removed the special nuclear meteorite
|
||||||
|
|
||||||
## Fixed
|
## 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 heating oven not visually connecting to exhaust pipes
|
||||||
* Fixed loot blocks not correctly rendering items that require multiple render passes
|
* Fixed loot blocks not correctly rendering items that require multiple render passes
|
||||||
* Fixed special meteorites spawning in worldgen
|
* Fixed special meteorites spawning in worldgen
|
||||||
|
|||||||
@ -179,6 +179,7 @@ public class EntityFalloutRain extends Entity {
|
|||||||
hardness = worldObj.getBlock(x, y + i, z).getBlockHardness(worldObj, x, y + i, z);
|
hardness = worldObj.getBlock(x, y + i, z).getBlockHardness(worldObj, x, y + i, z);
|
||||||
if(hardness <= Blocks.stonebrick.getExplosionResistance(null) && hardness >= 0) {
|
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 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);
|
worldObj.spawnEntityInWorld(entityfallingblock);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user