package com.scottkillen.mod.dendrology.content.fuel;

import com.scottkillen.mod.koresample.common.block.SlabBlock;
import cpw.mods.fml.common.IFuelHandler;
import cpw.mods.fml.common.registry.GameRegistry;
import net.minecraft.item.ItemStack;

public enum FuelHandler implements IFuelHandler
{
    INSTANCE;

    public static void postInit()
    {
        GameRegistry.registerFuelHandler(INSTANCE);
    }

    @Override
    public int getBurnTime(ItemStack fuel)
    {
        if (SlabBlock.isSingleSlab(fuel.getItem())) return 150;

        return 0;
    }
}

@@ -200,16 +200,128 @@
 gistry;%0A
+import net.minecraft.block.Block;%0Aimport net.minecraft.block.material.Material;%0Aimport net.minecraft.item.Item;%0A
 import n
@@ -349,16 +349,16 @@
 mStack;%0A
-
 %0Apublic 
@@ -589,12 +589,182 @@
     
-if (
+final Item fuelItem = fuel.getItem();%0A        final Material fuelMaterial = Block.getBlockFromItem(fuelItem).getMaterial();%0A        if (fuelMaterial.equals(Material.wood) && 
 Slab
@@ -786,26 +786,20 @@
 lab(fuel
-.get
 Item
-()
 )) retur

Fix fuel handler.