Another hotfix

This commit is contained in:
Blood-Asp 2015-10-04 00:33:15 +02:00
parent 452431a40a
commit 9d85f43d56

View file

@ -175,7 +175,7 @@ public int adjY = 9;
}
public Achievement registerAchievement(String textId, int x, int y, ItemStack icon, Achievement requirement, boolean special) {
if(GT_Mod.gregtechproxy.mAchievements){return null;};
if(!GT_Mod.gregtechproxy.mAchievements){return null;};
Achievement achievement = new Achievement(textId, textId, this.adjX + x, this.adjY+y, icon, requirement);
if (special) {
achievement.setSpecial();
@ -190,7 +190,7 @@ public int adjY = 9;
}
public Achievement registerAchievement(String textId, int x, int y, ItemStack icon, String requirement, boolean special) {
if(GT_Mod.gregtechproxy.mAchievements){return null;};
if(!GT_Mod.gregtechproxy.mAchievements){return null;};
Achievement achievement = new Achievement(textId, textId, this.adjX + x, this.adjY+y, icon, getAchievement(requirement));
if (special) {
achievement.setSpecial();