Merge pull request #391 from smbarbour/patch-1
softBlocks fix: BlockGrass -> BlockTallGrass
This commit is contained in:
commit
bb5b93028f
1 changed files with 2 additions and 2 deletions
|
@ -66,7 +66,7 @@ import cpw.mods.fml.common.event.FMLPostInitializationEvent;
|
|||
import net.minecraft.src.Block;
|
||||
import net.minecraft.src.BlockFlower;
|
||||
import net.minecraft.src.BlockFluid;
|
||||
import net.minecraft.src.BlockGrass;
|
||||
import net.minecraft.src.BlockTallGrass;
|
||||
import net.minecraft.src.CommandHandler;
|
||||
import net.minecraft.src.EntityList;
|
||||
import net.minecraft.src.Item;
|
||||
|
@ -264,7 +264,7 @@ public class BuildCraftCore {
|
|||
@PostInit
|
||||
public void postInit(FMLPostInitializationEvent event){
|
||||
for(Block block : Block.blocksList) {
|
||||
if(block instanceof BlockFluid || block instanceof BlockGrass){
|
||||
if(block instanceof BlockFluid || block instanceof BlockTallGrass || block instanceof BlockFlower){
|
||||
BuildCraftAPI.softBlocks[block.blockID] = true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue