fixed rotation for action direction
This commit is contained in:
parent
1984eca2ab
commit
ba2d66e81a
1 changed files with 2 additions and 1 deletions
|
@ -13,6 +13,7 @@ import java.util.Locale;
|
|||
import net.minecraft.client.renderer.texture.IIconRegister;
|
||||
import net.minecraft.util.IIcon;
|
||||
import net.minecraftforge.common.util.ForgeDirection;
|
||||
import buildcraft.BuildCraftTransport;
|
||||
import buildcraft.api.gates.IAction;
|
||||
import buildcraft.core.triggers.BCAction;
|
||||
|
||||
|
@ -44,6 +45,6 @@ public class ActionPipeDirection extends BCAction {
|
|||
|
||||
@Override
|
||||
public IAction rotateLeft() {
|
||||
return new ActionPipeDirection(direction.getRotation(ForgeDirection.UP));
|
||||
return BuildCraftTransport.actionPipeDirection [direction.getRotation(ForgeDirection.UP).ordinal()];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue