Added vinalla block support to turn table
This commit is contained in:
parent
51b20025da
commit
8b41d7d6b2
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue