Another hotfix
This commit is contained in:
parent
452431a40a
commit
9d85f43d56
1 changed files with 2 additions and 2 deletions
|
@ -175,7 +175,7 @@ public int adjY = 9;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Achievement registerAchievement(String textId, int x, int y, ItemStack icon, Achievement requirement, boolean special) {
|
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);
|
Achievement achievement = new Achievement(textId, textId, this.adjX + x, this.adjY+y, icon, requirement);
|
||||||
if (special) {
|
if (special) {
|
||||||
achievement.setSpecial();
|
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) {
|
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));
|
Achievement achievement = new Achievement(textId, textId, this.adjX + x, this.adjY+y, icon, getAchievement(requirement));
|
||||||
if (special) {
|
if (special) {
|
||||||
achievement.setSpecial();
|
achievement.setSpecial();
|
||||||
|
|
Loading…
Reference in a new issue