minor fixes
This commit is contained in:
parent
a29c0a1140
commit
577cf11257
2 changed files with 2 additions and 5 deletions
|
@ -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
|
||||
|
|
|
@ -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());
|
||||
|
|
Loading…
Add table
Reference in a new issue