mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-21 04:32:26 +00:00
Fixed achievements
This commit is contained in:
1 parent
044329658e
commit
5317f1859f
2 files changed
+4
-4
No files matched your search
@@ -17,11 +17,11 @@ public class TAchievements
|
||||
|
||||
public static void init ()
|
||||
{
|
||||
Achievement[] achs = new Achievement[achievements.values().size()];
|
||||
Achievement[] achs = achievements.values().toArray(new Achievement[0]);
|
||||
|
||||
for (int i = 0; i < achs.length; i++)
|
||||
for (Achievement a : achs)
|
||||
{
|
||||
achs[i] = (Achievement) achievements.values().toArray()[i];
|
||||
a.registerStat();
|
||||
}
|
||||
|
||||
achievementPage = new AchievementPage(StatCollector.translateToLocal("tconstruct.achievementPage.name"), achs);
|
||||
|
||||
Reference in new issue
Block a user