Remove ghost upgrade slots on some machines.

This commit is contained in:
modmuss50 2017-10-12 21:51:07 +01:00
parent 79984ab107
commit 31f3aff11f
2 changed files with 11 additions and 1 deletions

View file

@ -31,10 +31,10 @@ import net.minecraft.init.Blocks;
import net.minecraft.init.Items;
import net.minecraft.item.*;
import net.minecraft.util.EnumFacing;
import reborncore.api.IToolDrop;
import reborncore.api.recipe.IBaseRecipeType;
import reborncore.api.recipe.RecipeHandler;
import reborncore.api.tile.IInventoryProvider;
import reborncore.api.IToolDrop;
import reborncore.common.recipes.RecipeTranslator;
import reborncore.common.registration.RebornRegistry;
import reborncore.common.tile.TileLegacyMachineBase;
@ -364,4 +364,9 @@ public class TileIronAlloyFurnace extends TileLegacyMachineBase
.syncIntegerValue(this::getCookTime, this::setCookTime)
.syncIntegerValue(this::getCurrentItemBurnTime, this::setCurrentItemBurnTime).addInventory().create(this);
}
@Override
public boolean canBeUpgraded() {
return false;
}
}

View file

@ -389,4 +389,9 @@ public class TileFusionControlComputer extends TilePowerAcceptor implements IToo
public ItemStack getToolDrop(EntityPlayer p0) {
return new ItemStack(ModBlocks.FUSION_CONTROL_COMPUTER, 1);
}
@Override
public boolean canBeUpgraded() {
return false;
}
}