From d756cebd17c558ce10cd9311d68e2e90b3a0799e Mon Sep 17 00:00:00 2001 From: Muramasa Date: Sat, 23 Jul 2016 03:09:25 +0100 Subject: Fix "stone" veins Fix an issue where an "stone" vein would override ore textures but not other stones. Added missing small ore for marble and basalt. Removed wither check from Block_Stones. --- src/main/java/gregtech/common/blocks/GT_Block_Stones.java | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/main/java/gregtech/common/blocks/GT_Block_Stones.java') diff --git a/src/main/java/gregtech/common/blocks/GT_Block_Stones.java b/src/main/java/gregtech/common/blocks/GT_Block_Stones.java index 1db5ab9b4e..8da05da7b2 100644 --- a/src/main/java/gregtech/common/blocks/GT_Block_Stones.java +++ b/src/main/java/gregtech/common/blocks/GT_Block_Stones.java @@ -4,12 +4,9 @@ import gregtech.api.enums.Materials; import gregtech.api.enums.OrePrefixes; import gregtech.api.util.GT_LanguageManager; import gregtech.api.util.GT_OreDictUnificator; -import net.minecraft.entity.Entity; -import net.minecraft.entity.boss.EntityWither; import net.minecraft.init.Blocks; import net.minecraft.item.ItemStack; import net.minecraft.util.IIcon; -import net.minecraft.world.IBlockAccess; import net.minecraft.world.World; public class GT_Block_Stones extends GT_Block_Stones_Abstract { @@ -64,8 +61,4 @@ public class GT_Block_Stones extends GT_Block_Stones_Abstract { } return gregtech.api.enums.Textures.BlockIcons.STONES[0].getIcon(); } - - public boolean canEntityDestroy(IBlockAccess world, int x, int y, int z, Entity entity) { - return !(entity instanceof EntityWither); - } } -- cgit