From 10b224b21c5d08bd2236b23ca47cb9e97c00f84e Mon Sep 17 00:00:00 2001 From: asiekierka Date: Mon, 20 Oct 2014 12:38:26 +0200 Subject: [PATCH] fix style --- common/buildcraft/BuildCraftSilicon.java | 2 +- common/buildcraft/transport/Gate.java | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/common/buildcraft/BuildCraftSilicon.java b/common/buildcraft/BuildCraftSilicon.java index 9d492880..22ca6562 100644 --- a/common/buildcraft/BuildCraftSilicon.java +++ b/common/buildcraft/BuildCraftSilicon.java @@ -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; diff --git a/common/buildcraft/transport/Gate.java b/common/buildcraft/transport/Gate.java index 0f81054b..98a45546 100644 --- a/common/buildcraft/transport/Gate.java +++ b/common/buildcraft/transport/Gate.java @@ -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;