Re-added block breaking
This commit is contained in:
parent
33ad9fee93
commit
329850d4ea
1 changed files with 2 additions and 2 deletions
|
@ -194,11 +194,11 @@ public class BuildingItem implements IBuilder {
|
|||
destX, destY, destZ,
|
||||
Block.getIdFromBlock(block) + (meta << 12));
|
||||
|
||||
/*if (BlockUtil.isToughBlock(context.world(), destX, destY, destZ)) {
|
||||
if (BlockUtil.isToughBlock(context.world(), destX, destY, destZ)) {
|
||||
BlockUtil.breakBlock(context.world(), destX, destY, destZ, BuildCraftBuilders.fillerLifespanTough);
|
||||
} else {
|
||||
BlockUtil.breakBlock(context.world(), destX, destY, destZ, BuildCraftBuilders.fillerLifespanNormal);
|
||||
}*/
|
||||
}
|
||||
|
||||
slotToBuild.writeToWorld(context);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue