Merge pull request #7056 from jakespeare/Jakespeare/Fix_Subtract_Typos

Fix Typo in ItemStats: "substracted" to "subtracted"
This commit is contained in:
Adam
2018-12-23 18:47:25 -05:00
committed by GitHub
2 changed files with 4 additions and 4 deletions

View File

@@ -35,7 +35,7 @@ public class ItemStats
private ItemEquipmentStats equipment;
public ItemStats substract(ItemStats other)
public ItemStats subtract(ItemStats other)
{
if (other == null)
{

View File

@@ -202,10 +202,10 @@ public class ItemStatOverlay extends Overlay
}
}
final ItemStats substracted = s.substract(other);
final ItemEquipmentStats e = substracted.getEquipment();
final ItemStats subtracted = s.subtract(other);
final ItemEquipmentStats e = subtracted.getEquipment();
if (substracted.isEquipable() && e != null)
if (subtracted.isEquipable() && e != null)
{
b.append(getChangeString("Prayer", e.getPrayer(), false, false));
b.append(getChangeString("Speed", e.getAspeed(), false, false));