fix: achievements crashes

This commit is contained in:
Byte
2026-06-24 22:27:22 +02:00
parent 028dcdce41
commit e7a44db374
8 changed files with 16 additions and 11 deletions
+1 -1
View File
@@ -978,7 +978,7 @@ void LocalPlayer::awardStat(Stat *stat, byteArray param)
// AWARD : Porkchop, cook and eat a porkchop.
{
Stat *cookPorkchop, *eatPorkchop;
cookPorkchop = GenericStats::itemsCrafted(Item::porkChop_cooked_Id);
cookPorkchop = GenericStats::itemsSmelted(Item::porkChop_cooked_Id);
eatPorkchop = GenericStats::itemsUsed(Item::porkChop_cooked_Id);
if ( stat == cookPorkchop || stat == eatPorkchop )