Added vinalla block support to turn table

This commit is contained in:
DarkGuardsman 2013-10-23 13:17:33 -04:00
parent 51b20025da
commit 8b41d7d6b2

View file

@ -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)
{