Jump to content

TrenTech

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by TrenTech

  1. Yeah thanks, I figured it out about an hour after I posted this. Consider the topic dead
  2. Working on a custom furnace. Been sifting through my code for hours thinking I've done something wrong. After I tracked down this issue this is where it was located: public static int getItemBurnTime(ItemStack itemstack){ System.out.println(itemstack.toString(); if(itemstack == null){ return 0; }else{ Item item = itemstack.getItem(); System.out.println(GameRegistry.getFuelValue(itemstack)); return GameRegistry.getFuelValue(itemstack); } } Now looking where I posted the println statements I know itemstack is not null and also know it's the correct itemstack by the console output. Doesn't matter What I through in the furnace, coal, wood etc still returns 0. Is this a bug or am I missing something?
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.