mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-05-07 01:07:15 +00:00
fix(achievements): restore achievement popup display
Was removed by the dev merge
This commit is contained in:
parent
6d0d4b2ed1
commit
ecc6f0d549
|
|
@ -709,10 +709,12 @@ void LocalPlayer::awardStat(Stat* stat, byteArray param) {
|
|||
// storage device, so needs a primary player, and the player may not
|
||||
// have been a primary player when they first 'got' the award so let the
|
||||
// award manager figure it out
|
||||
// if (!minecraft->stats[m_iPad]->hasTaken(ach))
|
||||
if (!minecraft->stats[m_iPad]->hasTaken(ach))
|
||||
{
|
||||
// 4J-PB - Don't display the java popup
|
||||
// minecraft->achievementPopup->popup(ach);
|
||||
#ifdef ENABLE_JAVA_GUIS
|
||||
minecraft->achievementPopup->popup(ach);
|
||||
#endif
|
||||
|
||||
// 4J Stu - Added this function in the libraries as some
|
||||
// achievements don't get awarded to all players e.g. Splitscreen
|
||||
|
|
|
|||
Loading…
Reference in a new issue