Fix soldering iron can't remove circuit boards

This commit is contained in:
mezz committed 2015-11-17 02:26:44 -08:00
1 parent f2b95e1777
commit 010c65b192
2 files changed
+22 -1

No files matched your search

@@ -0,0 +1,20 @@
/*******************************************************************************
* Copyright (c) 2011-2014 SirSengir.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Lesser Public License v3
* which accompanies this distribution, and is available at
* http://www.gnu.org/licenses/lgpl-3.0.txt
*
* Various Contributors including, but not limited to:
* SirSengir (original work), CovertJaguar, Player, Binnie, MysteriousAges
******************************************************************************/
package forestry.core.items;
import forestry.core.circuits.ISolderingIron;
import forestry.core.network.GuiId;
public class ItemSolderingIron extends ItemWithGui implements ISolderingIron {
public ItemSolderingIron(GuiId guiId) {
super(guiId);
}
}
@@ -68,6 +68,7 @@ import forestry.core.items.ItemFruit;
import forestry.core.items.ItemMisc;
import forestry.core.items.ItemOverlay.OverlayInfo;
import forestry.core.items.ItemPipette;
import forestry.core.items.ItemSolderingIron;
import forestry.core.items.ItemWithGui;
import forestry.core.items.ItemWrench;
import forestry.core.multiblock.MultiblockLogicFactory;
@@ -162,7 +163,7 @@ public class PluginCore extends ForestryPlugin {
// / CIRCUIT BOARDS
ForestryItem.circuitboards.registerItem(new ItemCircuitBoard(), "chipsets");
Item solderingIron = new ItemWithGui(GuiId.SolderingIronGUI).setMaxDamage(5).setFull3D();
Item solderingIron = new ItemSolderingIron(GuiId.SolderingIronGUI).setMaxDamage(5).setFull3D();
ForestryItem.solderingIron.registerItem(solderingIron, "solderingIron");
Color tubeCoverNormal = Color.WHITE;