}
ItemStack heldItem = PlayerUtil.getHeldSlot(session.getPlayer()).get();
if (heldItem != null) {
heldItem.getMaterial().getItemFlags(heldItem, flags);
}
if (!blockMaterial.destroy(block, flags, new PlayerBreakCause((Player) human.getOwner(), block))) {
RepositionManager rm = session.getPlayer().getNetwork().getRepositionManager();
session.send(new BlockChangeMessage(block, rm));
Sign sign = block.get(Sign.class);
if (sign != null) {
session.send(new SignMessage(block.getX(), block.getY(), block.getZ(), sign.getText(), rm));