Skip to content

Commit

Permalink
Fixed warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Duqueeee committed Feb 6, 2024
1 parent 4777c89 commit 9ed555f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import com.simibubi.create.AllBlocks;
import com.simibubi.create.content.kinetics.simpleRelays.ShaftBlock;
import com.simibubi.create.content.redstone.link.RedstoneLinkBlock;
import com.simibubi.create.foundation.ponder.ElementLink;
import com.simibubi.create.foundation.ponder.PonderPalette;
import com.simibubi.create.foundation.ponder.SceneBuilder;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,10 @@ public class ParallelInstruction extends PonderInstruction {
private final List<PonderInstruction> schedule = new ArrayList<>();
private final List<PonderInstruction> activeSchedule = new ArrayList<>();

private final PonderScene ponderScene;
public final ParallelSceneBuilder scene;

public ParallelInstruction(SceneBuilder scene) {
this.ponderScene = ((SceneBuilderAccessor) scene).getScene();
PonderScene ponderScene = ((SceneBuilderAccessor) scene).getScene();
this.scene = new ParallelSceneBuilder(ponderScene, this);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

public class ParallelSceneBuilder extends SceneBuilder {

private ParallelInstruction instruction;
private final ParallelInstruction instruction;

public ParallelSceneBuilder(PonderScene ponderScene, ParallelInstruction instruction) {
super(ponderScene);
Expand Down

0 comments on commit 9ed555f

Please sign in to comment.