itemstats: hasHolyWrench is always false at this point

This commit is contained in:
sdburns1998
2019-07-07 15:09:06 +02:00
parent 6ed8327257
commit a67920956b

View File

@@ -63,7 +63,7 @@ public class PrayerPotion extends StatBoost
final int ring = ItemUtil.safeGetItemIdAtIndex(equip, EquipmentInventorySlot.RING.getSlotIdx());
final int cape = ItemUtil.safeGetItemIdAtIndex(equip, EquipmentInventorySlot.CAPE.getSlotIdx());
hasHolyWrench |= ring == ItemID.RING_OF_THE_GODS_I;
hasHolyWrench = ring == ItemID.RING_OF_THE_GODS_I;
hasHolyWrench |= HOLY_WRENCH_IDS.contains(cape);
}
if (!hasHolyWrench)