Fixed unused variable warning
This commit is contained in:
parent
751be69426
commit
5d38337caa
1 changed files with 0 additions and 1 deletions
|
@ -80,7 +80,6 @@ public class TileIndustrialSawmill extends TilePowerAcceptor
|
||||||
for (IBaseRecipeType recipe : RecipeHandler.getRecipeClassFromName(Reference.industrialSawmillRecipe)) {
|
for (IBaseRecipeType recipe : RecipeHandler.getRecipeClassFromName(Reference.industrialSawmillRecipe)) {
|
||||||
if (recipe instanceof IndustrialSawmillRecipe) {//Should always be true
|
if (recipe instanceof IndustrialSawmillRecipe) {//Should always be true
|
||||||
IndustrialSawmillRecipe sawmillRecipe = (IndustrialSawmillRecipe) recipe;
|
IndustrialSawmillRecipe sawmillRecipe = (IndustrialSawmillRecipe) recipe;
|
||||||
Object woodRecipeObj = sawmillRecipe.getInputs().get(0);
|
|
||||||
if (isValidForRecipe(sawmillRecipe)) {
|
if (isValidForRecipe(sawmillRecipe)) {
|
||||||
this.useEnergy(sawmillRecipe.euPerTick);
|
this.useEnergy(sawmillRecipe.euPerTick);
|
||||||
this.tickTime = 1;
|
this.tickTime = 1;
|
||||||
|
|
Loading…
Reference in a new issue