Fix charcoal pit accepting wood planks
This commit is contained in:
parent
b347471d03
commit
023609842c
1 changed files with 1 additions and 1 deletions
|
@ -193,7 +193,7 @@ public class GT_MetaTileEntity_Charcoal_Pit extends GT_MetaTileEntity_MultiBlock
|
|||
|
||||
public boolean isWoodLog(Block log){
|
||||
String tTool = log.getHarvestTool(0);
|
||||
return OrePrefixes.log.contains(new ItemStack(log, 1))&& ((tTool != null) && (tTool.equals("axe"))) || (log.getMaterial() == Material.wood);
|
||||
return OrePrefixes.log.contains(new ItemStack(log, 1))&& ((tTool != null) && (tTool.equals("axe"))) && (log.getMaterial() == Material.wood);
|
||||
}
|
||||
|
||||
public boolean checkMachine(IGregTechTileEntity aBaseMetaTileEntity, ItemStack aStack) {
|
||||
|
|
Loading…
Reference in a new issue