mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-25 14:24:35 +00:00
<1000 errors
This commit is contained in:
1 parent
c6a09b5658
commit
af008b9395
99 files changed
+470
-484
No files matched your search
@@ -13,14 +13,14 @@ import net.minecraft.world.World;
|
||||
|
||||
public final class MinerUtils
|
||||
{
|
||||
public static List<Block> specialSilkIDs = ListUtils.asList(Blocks.ice);
|
||||
public static List<Block> specialSilkIDs = ListUtils.asList(Blocks.ICE);
|
||||
|
||||
public static List<ItemStack> getDrops(World world, Coord4D obj, boolean silk)
|
||||
{
|
||||
IBlockState state = obj.getBlockState(world);
|
||||
Block block = state.getBlock();
|
||||
|
||||
if(block == null || block.isAir(world, obj.getPos()))
|
||||
if(block == null || block.isAir(state, world, obj.getPos()))
|
||||
{
|
||||
return new ArrayList<ItemStack>();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user