GT CODE DOESNT LIKE "this" anywhere
This commit is contained in:
parent
41c1d2bd15
commit
264f181081
1 changed files with 2 additions and 2 deletions
|
@ -209,7 +209,7 @@ public abstract class GT_MetaTileEntity_MultiBlockBase extends MetaTileEntity {
|
||||||
for (GT_MetaTileEntity_Hatch_Maintenance tHatch : mMaintenanceHatches) {
|
for (GT_MetaTileEntity_Hatch_Maintenance tHatch : mMaintenanceHatches) {
|
||||||
if (isValidMetaTileEntity(tHatch)) {
|
if (isValidMetaTileEntity(tHatch)) {
|
||||||
if (!this.disableMaintenance) {
|
if (!this.disableMaintenance) {
|
||||||
tHatch.setController(this);
|
tHatch.setController((GT_MetaTileEntity_MultiBlockBase) aBaseMetaTileEntity);
|
||||||
if (tHatch.mWrench) mWrench = true;
|
if (tHatch.mWrench) mWrench = true;
|
||||||
if (tHatch.mScrewdriver) mScrewdriver = true;
|
if (tHatch.mScrewdriver) mScrewdriver = true;
|
||||||
if (tHatch.mSoftHammer) mSoftHammer = true;
|
if (tHatch.mSoftHammer) mSoftHammer = true;
|
||||||
|
@ -768,7 +768,7 @@ public abstract class GT_MetaTileEntity_MultiBlockBase extends MetaTileEntity {
|
||||||
if (aMetaTileEntity == null) return false;
|
if (aMetaTileEntity == null) return false;
|
||||||
if (aMetaTileEntity instanceof GT_MetaTileEntity_Hatch_Maintenance) {
|
if (aMetaTileEntity instanceof GT_MetaTileEntity_Hatch_Maintenance) {
|
||||||
((GT_MetaTileEntity_Hatch) aMetaTileEntity).mMachineBlock = (byte) aBaseCasingIndex;
|
((GT_MetaTileEntity_Hatch) aMetaTileEntity).mMachineBlock = (byte) aBaseCasingIndex;
|
||||||
((GT_MetaTileEntity_Hatch_Maintenance) aMetaTileEntity).setController(this);
|
((GT_MetaTileEntity_Hatch_Maintenance) aMetaTileEntity).setController((GT_MetaTileEntity_MultiBlockBase) aTileEntity);
|
||||||
return mMaintenanceHatches.add((GT_MetaTileEntity_Hatch_Maintenance) aMetaTileEntity);
|
return mMaintenanceHatches.add((GT_MetaTileEntity_Hatch_Maintenance) aMetaTileEntity);
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in a new issue