Skip to content

Commit

Permalink
Better also make this backwards compatible, in case somebody didn't u…
Browse files Browse the repository at this point in the history
…se the accessors...
  • Loading branch information
bonii-xx committed Sep 4, 2014
1 parent 6ebb746 commit e15bc97
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/java/tconstruct/library/tools/ToolMaterial.java
Expand Up @@ -21,17 +21,21 @@ public class ToolMaterial
@Deprecated
public String displayName;
@Deprecated
public String ability;
@Deprecated
public ToolMaterial(String name, String displayName, int level, int durability, int speed, int damage, float handle, int reinforced, float stonebound, String style, String ability)
{
this(name, level, durability, speed, damage, handle, reinforced, stonebound, style);
this.displayName = prefixName();
this.ability = ability();
}

@Deprecated
public ToolMaterial(String name, int level, int durability, int speed, int damage, float handle, int reinforced, float stonebound, String style, String ability)
{
this(name, level, durability, speed, damage, handle, reinforced, stonebound, style);
this.displayName = prefixName();
this.ability = ability();
}

public ToolMaterial(String name, int level, int durability, int speed, int damage, float handle, int reinforced, float stonebound, String style)
Expand Down

0 comments on commit e15bc97

Please sign in to comment.