mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-07-05 15:27:22 +00:00
fix(achievements): restore achievement popup display
Was removed by the dev merge
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user