added back double meta specification
This commit is contained in:
parent
15bb4eefe9
commit
12e215c611
2 changed files with 1 additions and 2 deletions
|
@ -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);
|
||||||
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue