Fix Vis Relay Interface no longer consuming an ME channel (#140)

Co-authored-by: Niklas Schilli <a232576@dekra.org>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
authored and GitHub committed 2026-08-20 23:35:07 -04:00
1 parent f7e517543b
commit 3b2f66a1ba
1 file changed
+5
@@ -21,6 +21,7 @@ import appeng.api.config.Actionable;
import appeng.api.config.PowerMultiplier;
import appeng.api.implementations.items.IMemoryCard;
import appeng.api.implementations.items.MemoryCardMessages;
import appeng.api.networking.GridFlags;
import appeng.api.networking.IGrid;
import appeng.api.networking.IGridNode;
import appeng.api.networking.energy.IEnergyGrid;
@@ -113,6 +114,10 @@ public class PartVisInterface extends AEBasePart implements IGridTickable, IDigi
public PartVisInterface(final ItemStack is) {
super(is);
// Require a channel
this.getProxy().setFlags(GridFlags.REQUIRE_CHANNEL);
this.UID = System.currentTimeMillis() ^ this.hashCode();
}