Gregtech++ [GT++] [GTplusplus]

Gregtech++ [GT++] [GTplusplus]

94.1k Downloads

Power Substation not forming

NeroOneTrueKing opened this issue ยท 2 comments

commented

Issue Title

Power Substation not forming

Expected Behavior

Updated from GTNH 2.0.4.7 to GTNH 2.0.4.8; unsure of the GT++ versions involved.
Used to have a functional substation.
Tried building a new substation:
1 EV energy hatch
1 EV dynamo hatch
Control Block (bottom, side-centered)
Maintenance Hatch
18 interior energy cells (EV-tier)
Substation Casings for the rest
(no HV or lower hatches were involved)

Current Behavior

The substation did not form a multiblock.
As such, the GUI for the controller was all blank.

Steps to Reproduce (for bugs)

Build a Power Substation as described above.

Context

The substation, which was key in getting power from my generators transformed into whatever amps and volts my machines need, stopped functioning as a multiblock after an update.

Misc Info

Check all that apply ([ ] -> [x] - use a lowercase x)

  •    Using GT:NH/GT:New Horizons?
  •    Single Player?
  •    Multi Player?
commented

Update:
It looks like maybe the multiblock is forming, since the hatches are being textured properly, but the controller GUI is non-operational and the multiblock is non-functional.

commented

Found the bug:
in GTplusplus/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/storage/GregtechMetaTileEntity_PowerSubStationController.java
on line 270: (Edit: this bug also appears on line 284)

if(tier < 512) {
				checkMachineProblem("Energy hatch (tier " + tier + ") is too weak for cells (tier " + tOverallCellTier + ")");
				return false;
}

Note that HV power is tier 3, not tier 512.