diff options
Diffstat (limited to '')
-rw-r--r-- | src/Mobs/Monster.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Mobs/Monster.cpp b/src/Mobs/Monster.cpp index c1a244a9f..ae186d2bb 100644 --- a/src/Mobs/Monster.cpp +++ b/src/Mobs/Monster.cpp @@ -1361,10 +1361,10 @@ void cMonster::LoveTick(void) m_World->DoWithPlayerByUUID(m_Feeder, [&] (cPlayer & a_Player) { - a_Player.GetStatManager().AddValue(Statistic::AnimalsBred); + a_Player.GetStatistics().Custom[CustomStatistic::AnimalsBred]++; if (GetMobType() == eMonsterType::mtCow) { - a_Player.AwardAchievement(Statistic::AchBreedCow); + a_Player.AwardAchievement(CustomStatistic::AchBreedCow); } return true; }); |