Skip to content

Commit

Permalink
fix: compile errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Uhutown committed Oct 21, 2024
1 parent efa5e35 commit e72f4fa
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public void setTile(final SignalBoxTileEntity tile) {
}

public SignalBoxPathway(final PathwayData data) {
this.data = new SignalConfig(this);
this.config = new SignalConfig(this);
this.data = data;
this.originalFirstPoint = new Point(data.getFirstPoint());
updatePathwayToAutomatic();
Expand Down Expand Up @@ -206,7 +206,7 @@ protected void setSignals(final SignalStateInfo lastSignal) {
if (first == null)
return;
final SignalStateInfo firstInfo = new SignalStateInfo(world, startSignal.pos, first);
SignalConfig.change(new ConfigInfo(firstInfo, lastSignal, data));
config.change(new ConfigInfo(firstInfo, lastSignal, data));
updatePreSignals();
}
final SignalBoxPathway next = getNextPathway();
Expand All @@ -226,9 +226,9 @@ protected void setSignals(final SignalStateInfo lastSignal) {
new SignalStateInfo(world, position.pos, current), lastSignal, data,
position.isRepeater);
if (position.guiMode.equals(EnumGuiMode.HP)) {
SignalConfig.loadDisable(info);
config.loadDisable(info);
} else {
SignalConfig.change(info);
config.change(info);
}
});
updateSignalStates();
Expand All @@ -252,7 +252,7 @@ private void updatePreSignals() {
final Signal current = SignalBoxHandler.getSignal(identifier, posIdent.pos);
if (current == null)
return;
SignalConfig.change(
config.change(
new ConfigInfo(new SignalStateInfo(tile.getLevel(), posIdent.pos, current),
firstInfo, data, posIdent.isRepeater));
});
Expand Down

0 comments on commit e72f4fa

Please sign in to comment.