mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-20 12:19:48 +00:00
Better also make this backwards compatible, in case somebody didn't use the accessors...
This commit is contained in:
1 parent
6ebb746f0b
commit
e15bc977c8
1 file changed
+4
@@ -21,10 +21,13 @@ 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
|
||||
@@ -32,6 +35,7 @@ public class ToolMaterial
|
||||
{
|
||||
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)
|
||||
|
||||
Reference in new issue
Block a user