diff --git a/src/tconstruct/blocks/logic/PartBuilderLogic.java b/src/tconstruct/blocks/logic/PartBuilderLogic.java index ae643d325a7..07a7924ee50 100644 --- a/src/tconstruct/blocks/logic/PartBuilderLogic.java +++ b/src/tconstruct/blocks/logic/PartBuilderLogic.java @@ -61,6 +61,8 @@ public void tryBuildPart (int slotID) if (!craftedTop && inventory[0] != null) { int value = PatternBuilder.instance.getPartValue(inventory[2]); + if (value == 0) /* hack to plug up future dups */ + value = 2; IPattern item = (IPattern) inventory[0].getItem(); int cost = item != null ? item.getPatternCost(inventory[0]) : 0; if (value > 0 && cost > 0) diff --git a/src/tconstruct/common/TContent.java b/src/tconstruct/common/TContent.java index cdce2a5151a..98665d5e3a8 100644 --- a/src/tconstruct/common/TContent.java +++ b/src/tconstruct/common/TContent.java @@ -1143,7 +1143,8 @@ void registerMaterials() TConstructRegistry.addBowstringMaterial(0, 2, new ItemStack(Item.silk), new ItemStack(bowstring, 1, 0), 1F, 1F, 1f); //String TConstructRegistry.addFletchingMaterial(0, 2, new ItemStack(Item.feather), new ItemStack(fletching, 1, 0), 100F, 0F, 0.05F); //Feather - TConstructRegistry.addFletchingMaterial(1, 2, new ItemStack(Block.leaves), new ItemStack(fletching, 1, 1), 75F, 0F, 0.2F); //Leaves + for (int i = 0; i < 4; i++ ) + TConstructRegistry.addFletchingMaterial(1, 2, new ItemStack(Block.leaves, 1, i), new ItemStack(fletching, 1, 1), 75F, 0F, 0.2F); //All four vanialla Leaves TConstructRegistry.addFletchingMaterial(2, 2, new ItemStack(materials, 1, 1), new ItemStack(fletching, 1, 2), 100F, 0F, 0.12F); //Slime TConstructRegistry.addFletchingMaterial(3, 2, new ItemStack(materials, 1, 17), new ItemStack(fletching, 1, 3), 100F, 0F, 0.12F); //BlueSlime @@ -2320,4 +2321,4 @@ public int getBurnTime(ItemStack fuel) return 26400; return 0; } -} \ No newline at end of file +}