fix helve hammer blows being < 1 #2584
This commit is contained in:
parent
8026bfed69
commit
1fceb61e43
1 changed files with 2 additions and 2 deletions
|
|
@ -635,13 +635,13 @@ function generateHammeringRecipe(event, material, blows, anvil) {
|
|||
ChemicalHelper.get(TagPrefix.plate, material, 1),
|
||||
ChemicalHelper.get(TFGTagPrefix.ingotDouble, material, 1))
|
||||
.anvilBlock(`tfc:metal/anvil/${anvil}`)
|
||||
.hammerBlows(blows)
|
||||
.hammerBlows(Math.max(blows, 1))
|
||||
.id(`tfg:vi/hammer/${material.getName()}_plate_on_${anvil}_anvil`)
|
||||
}
|
||||
|
||||
function generateHammeringRecipeFromItem(event, input, output, blows, anvil) {
|
||||
event.recipes.vintageimprovements.hammering(output, input)
|
||||
.anvilBlock(`tfc:metal/anvil/${anvil}`)
|
||||
.hammerBlows(blows)
|
||||
.hammerBlows(Math.max(blows, 1))
|
||||
.id(`tfg:vi/hammer/${input.replace(/[#:]/g, '_')}_on_${anvil}_anvil`)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue