From 62b1629a8a289962ce696ac74c133e6f2b085fb0 Mon Sep 17 00:00:00 2001 From: SenseiKiwi Date: Fri, 2 Aug 2013 13:49:24 -0400 Subject: [PATCH] Fixed Metadata Rotation for Stairs Changed BlockRotator so that missing stair types are recognized for applying rotations. The general code for all stairs was there but the block IDs for wooden and brick stairs weren't recognized. Also removed a duplicate reference to nether brick stairs. --- StevenDimDoors/mod_pocketDim/schematic/BlockRotator.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/StevenDimDoors/mod_pocketDim/schematic/BlockRotator.java b/StevenDimDoors/mod_pocketDim/schematic/BlockRotator.java index 18b0ee1b..533b7c2d 100644 --- a/StevenDimDoors/mod_pocketDim/schematic/BlockRotator.java +++ b/StevenDimDoors/mod_pocketDim/schematic/BlockRotator.java @@ -50,13 +50,18 @@ public class BlockRotator hasOrientations[Block.hopperBlock.blockID] = true; hasOrientations[Block.stairsNetherBrick.blockID] = true; hasOrientations[Block.stairsCobblestone.blockID] = true; - hasOrientations[Block.stairsNetherBrick.blockID] = true; hasOrientations[Block.stairsNetherQuartz.blockID] = true; hasOrientations[Block.stairsSandStone.blockID] = true; + hasOrientations[Block.stairsBrick.blockID] = true; + hasOrientations[Block.stairsWoodBirch.blockID] = true; + hasOrientations[Block.stairsWoodOak.blockID] = true; + hasOrientations[Block.stairsWoodJungle.blockID] = true; + hasOrientations[Block.stairsWoodSpruce.blockID] = true; hasOrientations[Block.wood.blockID] = true; hasOrientations[Block.blockNetherQuartz.blockID] = true; hasOrientations[mod_pocketDim.dimDoor.blockID] = true; hasOrientations[mod_pocketDim.ExitDoor.blockID] = true; + } public static int transformMetadata(int metadata, int turns, int blockID)