Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Commit

Permalink
made selector tags actually placeable on redstone wires
Browse files Browse the repository at this point in the history
  • Loading branch information
Trinsdar committed Jul 8, 2024
1 parent 2e8899b commit 59c9754
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import io.github.gregtechintergalactical.gtcore.block.BlockRedstoneWire;
import io.github.gregtechintergalactical.gtcore.block.RedstoneWire;
import io.github.gregtechintergalactical.gtcore.cover.CoverRedstoneTorch;
import io.github.gregtechintergalactical.gtcore.cover.CoverSelectorTag;
import muramasa.antimatter.Antimatter;
import muramasa.antimatter.AntimatterAPI;
import muramasa.antimatter.blockentity.pipe.BlockEntityPipe;
Expand Down Expand Up @@ -45,7 +46,7 @@ public CoverFactory[] getValidCovers() {
return AntimatterAPI.all(CoverFactory.class).stream().filter(t -> {
try {
ICover cover = t.get().get(ICoverHandler.empty(this), t.getValidTier(), Direction.SOUTH, t);
return !cover.isNode() || cover instanceof CoverRedstoneTorch;
return !cover.isNode() || cover instanceof CoverRedstoneTorch || cover instanceof CoverSelectorTag;
} catch (Exception ex) {
return false;
}
Expand Down

0 comments on commit 59c9754

Please sign in to comment.