Possible fix for scanner TE error(Blood Asp)
This commit is contained in:
parent
1972ee4076
commit
5eef2209fb
1 changed files with 2 additions and 5 deletions
|
@ -226,11 +226,8 @@ public class GT_MetaTileEntity_Scanner
|
||||||
@Override
|
@Override
|
||||||
public void onPostTick(IGregTechTileEntity aBaseMetaTileEntity, long aTick) {
|
public void onPostTick(IGregTechTileEntity aBaseMetaTileEntity, long aTick) {
|
||||||
if (mProgresstime >= (mMaxProgresstime - 1)) {
|
if (mProgresstime >= (mMaxProgresstime - 1)) {
|
||||||
try {
|
if (this.mOutputItems[0].getUnlocalizedName().equals("gt.metaitem.01.32707")) {
|
||||||
if (this.mOutputItems[0].getUnlocalizedName().equals("gt.metaitem.01.32707")) {
|
GT_Mod.instance.achievements.issueAchievement(aBaseMetaTileEntity.getWorld().getPlayerEntityByName(aBaseMetaTileEntity.getOwnerName()), "scanning");
|
||||||
GT_Mod.instance.achievements.issueAchievement(aBaseMetaTileEntity.getWorld().getPlayerEntityByName(aBaseMetaTileEntity.getOwnerName()), "scanning");
|
|
||||||
}
|
|
||||||
} catch (Exception e) {
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
super.onPostTick(aBaseMetaTileEntity, aTick);
|
super.onPostTick(aBaseMetaTileEntity, aTick);
|
||||||
|
|
Loading…
Reference in a new issue