From 5703c85549a69ba832d42607b071bad79fb558d2 Mon Sep 17 00:00:00 2001 From: Krapht <kraphteu@gmail.com> Date: Wed, 27 Mar 2013 17:15:20 +0100 Subject: [PATCH] Replace BCAction and BCTrigger arrays with IAction and ITrigger arrays. Good catch AartBluestoke --- common/buildcraft/transport/Pipe.java | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/common/buildcraft/transport/Pipe.java b/common/buildcraft/transport/Pipe.java index 43e00990..15299e21 100644 --- a/common/buildcraft/transport/Pipe.java +++ b/common/buildcraft/transport/Pipe.java @@ -36,8 +36,6 @@ import buildcraft.api.transport.IPipe; import buildcraft.core.IDropControlInventory; import buildcraft.core.network.TilePacketWrapper; import buildcraft.core.triggers.ActionRedstoneOutput; -import buildcraft.core.triggers.BCAction; -import buildcraft.core.triggers.BCTrigger; import buildcraft.core.utils.Utils; import buildcraft.transport.Gate.GateConditional; import buildcraft.transport.pipes.PipeLogic; @@ -68,9 +66,9 @@ public abstract class Pipe implements IPipe, IDropControlInventory { @SuppressWarnings("rawtypes") private static Map<Class, TilePacketWrapper> networkWrappers = new HashMap<Class, TilePacketWrapper>(); - public ITrigger[] activatedTriggers = new BCTrigger[8]; + public ITrigger[] activatedTriggers = new ITrigger[8]; public ITriggerParameter[] triggerParameters = new ITriggerParameter[8]; - public IAction[] activatedActions = new BCAction[8]; + public IAction[] activatedActions = new IAction[8]; public boolean broadcastSignal[] = new boolean[] { false, false, false, false }; public boolean broadcastRedstone = false; @@ -523,9 +521,9 @@ public abstract class Pipe implements IPipe, IDropControlInventory { public void resetGate() { gate = null; - activatedTriggers = new BCTrigger[activatedTriggers.length]; + activatedTriggers = new ITrigger[activatedTriggers.length]; triggerParameters = new ITriggerParameter[triggerParameters.length]; - activatedActions = new BCAction[activatedActions.length]; + activatedActions = new IAction[activatedActions.length]; broadcastSignal = new boolean[] { false, false, false, false }; if (broadcastRedstone) { updateNeighbors(true);