From 59c975409b9f5ef8500b754c20b713a89312a426 Mon Sep 17 00:00:00 2001 From: trinsdar <30245301+Trinsdar@users.noreply.github.com> Date: Sun, 7 Jul 2024 20:58:22 -0400 Subject: [PATCH] made selector tags actually placeable on redstone wires --- .../gtcore/blockentity/BlockEntityRedstoneWire.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/src/main/java/io/github/gregtechintergalactical/gtcore/blockentity/BlockEntityRedstoneWire.java b/common/src/main/java/io/github/gregtechintergalactical/gtcore/blockentity/BlockEntityRedstoneWire.java index 63b9ccf..0fb8337 100644 --- a/common/src/main/java/io/github/gregtechintergalactical/gtcore/blockentity/BlockEntityRedstoneWire.java +++ b/common/src/main/java/io/github/gregtechintergalactical/gtcore/blockentity/BlockEntityRedstoneWire.java @@ -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; @@ -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; }