From 8b41d7d6b25d27b9fc5281cb190e9ff4b8e09f45 Mon Sep 17 00:00:00 2001 From: DarkGuardsman Date: Wed, 23 Oct 2013 13:17:33 -0400 Subject: [PATCH] Added vinalla block support to turn table --- src/minecraft/dark/assembly/common/machine/BlockTurntable.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/minecraft/dark/assembly/common/machine/BlockTurntable.java b/src/minecraft/dark/assembly/common/machine/BlockTurntable.java index 3a4a6fc96..24813c01b 100644 --- a/src/minecraft/dark/assembly/common/machine/BlockTurntable.java +++ b/src/minecraft/dark/assembly/common/machine/BlockTurntable.java @@ -112,6 +112,9 @@ public class BlockTurntable extends BlockAssembly else if (Block.blocksList[blockID] instanceof IRotatableBlock) { currentDirection = ((IRotatableBlock) Block.blocksList[blockID]).getDirection(world, position.intX(), position.intY(), position.intZ()); + }else if(Block.blocksList[blockID] != null) + { + Block.blocksList[blockID].rotateBlock(world, x, y, z, direction.getOpposite()); } if (direction != null) {