Possible fix for scanner TE error
This commit is contained in:
parent
380211de8a
commit
97d7efcc22
1 changed files with 1 additions and 1 deletions
|
@ -207,7 +207,7 @@ public class GT_MetaTileEntity_Scanner
|
|||
@Override
|
||||
public void onPostTick(IGregTechTileEntity aBaseMetaTileEntity, long aTick) {
|
||||
if (mProgresstime >= (mMaxProgresstime - 1)) {
|
||||
if (this.mOutputItems[0].getUnlocalizedName().equals("gt.metaitem.01.32707")) {
|
||||
if ((this.mOutputItems[0] != null) && (this.mOutputItems[0].getUnlocalizedName().equals("gt.metaitem.01.32707"))) {
|
||||
GT_Mod.instance.achievements.issueAchievement(aBaseMetaTileEntity.getWorld().getPlayerEntityByName(aBaseMetaTileEntity.getOwnerName()), "scanning");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue