mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-26 06:52:58 +00:00
Merge branch 'master' into weaponry
Conflicts: src/main/java/tconstruct/tools/TinkerTools.java
This commit is contained in:
commit
f1ec9f24da
15 files changed
+190
-102
No files matched your search
@@ -25,7 +25,9 @@ public class ToolPart extends CraftingItem implements IToolPart
|
||||
@Override
|
||||
public String getItemStackDisplayName (ItemStack par1ItemStack)
|
||||
{
|
||||
String material = toolTextureNames[par1ItemStack.getItemDamage()];
|
||||
String material = "";
|
||||
if(par1ItemStack.getItemDamage() < toolTextureNames.length)
|
||||
material = toolTextureNames[par1ItemStack.getItemDamage()];
|
||||
String name = "";
|
||||
|
||||
if (StatCollector.canTranslate("toolpart." + partName + "." + material))
|
||||
|
||||
@@ -21,7 +21,7 @@ public class CraftingStationLogic extends InventoryLogic implements ISidedInvent
|
||||
|
||||
public CraftingStationLogic()
|
||||
{
|
||||
super(17); // 9 for crafting, 1 for output, 6 for extensions, 1 for
|
||||
super(10); // 9 for crafting, 1 for output, 6 for extensions, 1 for
|
||||
// plans
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user