Skip to content

Commit

Permalink
Fix custom mattock attack speed
Browse files Browse the repository at this point in the history
  • Loading branch information
IcarussOne committed Feb 5, 2024
1 parent 029c881 commit e1ec0c4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/drzhark/mocreatures/item/MoCItemMattock.java
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ public MoCItemMattock(String name, int meta, Item.ToolMaterial material, float d
this.setCreativeTab(MoCreatures.tabMoC);
this.setRegistryName(MoCConstants.MOD_ID, name);
this.setTranslationKey(name);
this.attackSpeed = -4.0F + speed;
}

public MoCItemMattock(String name, Item.ToolMaterial material, float damage, float speed, int damageType) {
Expand Down

0 comments on commit e1ec0c4

Please sign in to comment.