added back double meta specification

This commit is contained in:
SpaceToad 2014-03-05 08:59:14 +01:00
parent 15bb4eefe9
commit 12e215c611
2 changed files with 1 additions and 2 deletions

View file

@ -193,7 +193,7 @@ public class BptBlock {
public void buildBlock(IBptContext context) { public void buildBlock(IBptContext context) {
// Meta needs to be specified twice, depending on the block behavior // Meta needs to be specified twice, depending on the block behavior
context.world().setBlock(x, y, z, block, meta, 3); context.world().setBlock(x, y, z, block, meta, 3);
//context.world().setBlockMetadataWithNotify(slot.x, slot.y, slot.z, slot.meta, 3); context.world().setBlockMetadataWithNotify(x, y, z, meta, 3);
if (block instanceof BlockContainer) { if (block instanceof BlockContainer) {
TileEntity tile = context.world().getTileEntity(x, y, z); TileEntity tile = context.world().getTileEntity(x, y, z);

View file

@ -27,7 +27,6 @@ public class BptBlockRotateInventory extends BptBlockRotateMeta {
for (int i = 0; i < inv.getSizeInventory(); ++i) { for (int i = 0; i < inv.getSizeInventory(); ++i) {
inv.setInventorySlotContents(i, null); inv.setInventorySlotContents(i, null);
} }
} }
} }