Fix ItemStats/ItemStatOverlay Typos "substracted" to "subtracted"

This commit is contained in:
Jake Schaum
2018-12-22 16:24:56 -06:00
parent 3a6756d391
commit 65d8cda020
2 changed files with 4 additions and 4 deletions

View File

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

View File

@@ -202,10 +202,10 @@ public class ItemStatOverlay extends Overlay
} }
} }
final ItemStats substracted = s.substract(other); final ItemStats subtracted = s.subtract(other);
final ItemEquipmentStats e = substracted.getEquipment(); 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("Prayer", e.getPrayer(), false, false));
b.append(getChangeString("Speed", e.getAspeed(), false, false)); b.append(getChangeString("Speed", e.getAspeed(), false, false));