Fix charcoal pit accepting wood planks
This commit is contained in:
parent
f58f2100c3
commit
a4882590dc
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){
|
public boolean isWoodLog(Block log){
|
||||||
String tTool = log.getHarvestTool(0);
|
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) {
|
public boolean checkMachine(IGregTechTileEntity aBaseMetaTileEntity, ItemStack aStack) {
|
||||||
|
|
Loading…
Reference in a new issue