fix style

This commit is contained in:
asiekierka 2014-10-20 12:38:26 +02:00
parent e4bf8981d7
commit 10b224b21c
2 changed files with 4 additions and 4 deletions

View file

@ -8,7 +8,6 @@
*/
package buildcraft;
import cpw.mods.fml.common.registry.GameRegistry;
import net.minecraft.init.Blocks;
import net.minecraft.init.Items;
import net.minecraft.item.Item;
@ -20,6 +19,7 @@ import cpw.mods.fml.common.event.FMLMissingMappingsEvent;
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
import cpw.mods.fml.common.network.NetworkRegistry;
import cpw.mods.fml.common.registry.GameRegistry;
import net.minecraftforge.oredict.OreDictionary;
import buildcraft.api.blueprints.SchematicRegistry;
import buildcraft.api.boards.RedstoneBoardRegistry;

View file

@ -298,9 +298,9 @@ public final class Gate implements IGate {
int oldRedstoneOutput = redstoneOutput;
redstoneOutput = 0;
for (ForgeDirection direction : ForgeDirection.VALID_DIRECTIONS) {
pipe.transport.allowInput(direction, true);
pipe.transport.allowOutput(direction, true);
for (ForgeDirection ioSide : ForgeDirection.VALID_DIRECTIONS) {
pipe.transport.allowInput(ioSide, true);
pipe.transport.allowOutput(ioSide, true);
}
boolean wasActive = activeActions.size() > 0;