Skip to content

Commit

Permalink
Maintenance cleanup
Browse files Browse the repository at this point in the history
(cherry picked from commit acebbda)
  • Loading branch information
Dream-Master committed Jun 28, 2024
1 parent 7663f9b commit bedf633
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -651,18 +651,6 @@ protected ResourceLocation getActivitySound() {
return GT_MetaTileEntity_EM_infuser.activitySound;
}

/**
* Fix all maintenance issues of this controller
*/
protected void fixAllIssues() {
mWrench = true;
mScrewdriver = true;
mSoftHammer = true;
mHardHammer = true;
mSolderingTool = true;
mCrowbar = true;
}

// endregion

// region Recipe
Expand Down Expand Up @@ -932,4 +920,9 @@ public boolean willExplodeInRain() {
}

// endregion

@Override
public boolean getDefaultHasMaintenanceChecks() {
return false;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -260,18 +260,6 @@ protected void chargeController_EM(IGregTechTileEntity aBaseMetaTileEntity) {
// Do nothing as we only receive energy from the Space Elevator controller
}

/**
* Fix all maintenance issues of this controller
*/
protected void fixAllIssues() {
mWrench = true;
mScrewdriver = true;
mSoftHammer = true;
mHardHammer = true;
mSolderingTool = true;
mCrowbar = true;
}

/**
* Get the tier of the module
*
Expand Down Expand Up @@ -428,4 +416,9 @@ protected void parametersInstantiation_EM() {
Parameters.Group hatch_0 = parametrization.getGroup(0, false);
energyDisplay = hatch_0.makeOutParameter(0, 0, ENERGY_DISPLAY_NAME, ENERGY_STATUS);
}

@Override
public boolean getDefaultHasMaintenanceChecks() {
return false;
}
}

0 comments on commit bedf633

Please sign in to comment.