From 49edf8e55a242243f80dbfadb8a9d06dd6051ed0 Mon Sep 17 00:00:00 2001 From: SteveKunG Date: Sun, 11 Jan 2015 19:50:36 +0700 Subject: [PATCH] Enable fire source --- src/main/java/biomesoplenty/common/block/BlockAsh.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/java/biomesoplenty/common/block/BlockAsh.java b/src/main/java/biomesoplenty/common/block/BlockAsh.java index 8383e5b6d..9f2d31190 100644 --- a/src/main/java/biomesoplenty/common/block/BlockAsh.java +++ b/src/main/java/biomesoplenty/common/block/BlockAsh.java @@ -16,6 +16,7 @@ import net.minecraft.block.state.IBlockState; import net.minecraft.entity.Entity; import net.minecraft.util.AxisAlignedBB; import net.minecraft.util.BlockPos; +import net.minecraft.util.EnumFacing; import net.minecraft.util.EnumParticleTypes; import net.minecraft.world.World; import net.minecraftforge.fml.relauncher.Side; @@ -59,16 +60,15 @@ public class BlockAsh extends BOPBlock entity.motionZ *= 0.4D; } - /*@Override - public boolean isFireSource(World world, int x, int y, int z, ForgeDirection side) + @Override + public boolean isFireSource(World world, BlockPos pos, EnumFacing side) { - if (side == ForgeDirection.UP) + if (side == EnumFacing.UP) { return true; } - return false; - }*/ + } /*@Override public Item getItemDropped(int metadata, Random random, int fortune)