minor fixes

This commit is contained in:
SpaceToad 2014-05-10 15:02:02 +02:00
parent a29c0a1140
commit 577cf11257
2 changed files with 2 additions and 5 deletions

View file

@ -52,11 +52,6 @@ public class SchematicBlock extends SchematicBlockBase {
return block == context.world().getBlock(x, y, z) && meta == context.world().getBlockMetadata(x, y, z);
}
@Override
public void rotateLeft(IBuilderContext context) {
}
@Override
public void writeToWorld(IBuilderContext context, int x, int y, int z, LinkedList<ItemStack> stacks) {
// Meta needs to be specified twice, depending on the block behavior

View file

@ -30,6 +30,8 @@ public class SchematicEngine extends SchematicTile {
@Override
public void writeToSchematic(IBuilderContext context, int x, int y, int z) {
super.writeToSchematic(context, x, y, z);
TileEngine engine = (TileEngine) context.world().getTileEntity(x, y, z);
cpt.setInteger("orientation", engine.orientation.ordinal());