parent
09917470e1
commit
cd9e274cca
1 changed files with 1 additions and 1 deletions
|
@ -182,7 +182,7 @@ public class BuildingItem implements IBuildingItem, ISerializable {
|
|||
context.world().playAuxSFXAtEntity(null, 2001,
|
||||
destX, destY, destZ,
|
||||
Block.getIdFromBlock(oldBlock) + (oldMeta << 12));
|
||||
} else {
|
||||
} else if (slotToBuild.stackConsumed != null) {
|
||||
for (ItemStack s : slotToBuild.stackConsumed) {
|
||||
if (s != null && !(s.getItem() instanceof ItemBlock && Block.getBlockFromItem(s.getItem()) instanceof BlockBuildTool)) {
|
||||
InvUtils.dropItems(context.world(), s, destX, destY, destZ);
|
||||
|
|
Loading…
Reference in a new issue