Fix formatting error

This commit is contained in:
BrainFart17 2026-04-05 18:38:34 -07:00
parent 6bc57b2b97
commit 406e7e2f06

View file

@ -98,7 +98,7 @@ std::shared_ptr<ItemInstance> FishingHelper::handleCatch(CatchWeighedItem* weigh
weighedCatch->getItemId(), weighedCatch->getCount(), weighedCatch->getAuxValue()
);
if ((itemInstance->id== Item::fishingRod_Id && catchType == CatchType::JUNK) || (itemInstance->id == Item::boots_leather_Id)) {
if ((itemInstance->id == Item::fishingRod_Id && catchType == CatchType::JUNK) || (itemInstance->id == Item::boots_leather_Id)) {
itemInstance->setAuxValue((int) (itemInstance->getMaxDamage() * ((double) random->nextInt(901) + 100.0) / 1000.0)); // 10% to 100% damage
}
else if (itemInstance->id == Item::fishingRod_Id && catchType == CatchType::TREASURE) {